Hi folks, i am developing an application using django (1.5.1) and pyjs under ubuntu with eclipse IDE (3.8.1) and pydev.
For several reasons I decided not to have both sources django server side and pyjs client under one tree and split it up into two eclipse projects. For each project i can define it's own python interpreter and path environment so that eclipse knows pyjs/library and stuff. Fine. Only the pylint environment in eclipse is defined once and global for all projects. This causes path problems since the server side project uses a different path setup than the pyjs client side. After hours of stupid nooby trying i ended up having an ugly bash script for pylint, which decides what path setup to use: #!/bin/bash WSPACE=/home/funk/workspace # ${@: -1} if [[ ${@: -1} = $WSPACE/ppsclient* ]] then WORKHOME=$WSPACE/ppsclient SRCHOME=$WORKHOME/src/client LIBHOME=$WORKHOME/lib/python2.7/site-packages export PYTHONPATH=$WORKHOME/src:$WORKHOME/pyjs/library:$SRCHOME PYLINT=$WSPACE/ppsclient/bin/pylint cd $SRCHOME else WORKHOME=$WSPACE/pps SRCHOME=$WORKHOME/src/pps LIBHOME=$WORKHOME/lib/python2.7/site-packages export PYTHONPATH=$LIBHOME:$SRCHOME PYLINT=$WSPACE/pps/bin/pylint fi $PYLINT $* where /pps is the django part and /ppsclient the pyjs part. If anyone has a better idea, please call!! And then btw: anybody ran successfully pyjd under ubuntu 13.04?? I followed many google links but maybe i need just a new pointer to get it up and running. Any help appreciated! Thanks, Frank -- --- You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyjs-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.