> So, have you been able to run jalapi ?

I found wikify.py, installed it in /Library/frameworks/Python/etc/etc/ 
etc

and tried this:

        G5-fiwihex:~/jalv2/jallib/unvalidated/include/external/lcd eur$  
python ~/jalv2/jallib/tools/jalapi.py ~/jalv2/jallib/tools/ 
jalapi_html.tmpl
         lcd_hd44780_4.jal

which gives:

> Set SAMPLEDIR env. variable, so I can search for sample using  
> lcd_hd44780_4.jal

OK, so:

> G5-fiwihex:~/jalv2/jallib/tools eur$ SAMPLEDIR=../unvalidated/ 
> sample python jalapi.py jalapi_html.tmpl ../unvalidated/include/ 
> external/lcd/lcd_hd44780_4.jal

which works. Some remarks:

if sampledir is always trunk/jallib/sample, do not make this an  
environment variable. Can't you figure out from the .svn files where  
you are in the trunk? I don't mind setting this variable once, but it  
is always in the same position from the tools dir. There must be a  
way in python to get the dir of the script itself.

Why include the template file if this is always the same? Why point  
to it if you know where it is?

I'd prefer if stuff like wikify.py could be in the same directory as  
the script. Then you can distribute it with svn.

Searching the samplefiles for usage of the lib is nice, but in my  
case generates quite a mess since I've tens of files in various  
stages of decay. Checking these files against the repository is great.

I'd like to run the script without any superfluous stuff, like:

        xxxx/external/lcd $ python ~/jalv2/jallib/tools/jalapi.py  
lcd_hd44780_4.py

Oh, and could you *not* use the script basename (jalapi) for anything  
else? This makes filename guessing with tab so much easier.

Also, there is a "jallib" python script without the .py extension. Why?






---
ir EE van Andel [EMAIL PROTECTED]  http://www.fiwihex.nl
Fiwihex B.V. Wierdensestraat 74, NL7604BK Almelo, Netherlands
tel+31-546-491106 fax+31-546-491107



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to