The following forum message was posted by alexdk at
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4085985:
Hi all,
I need to run an automatically generated shell script to load some environment
variables to run a python project successfully in PyDev. Because the script
has a bunch of control flow to control how the variables are set, and because
it's long and complex, adding each variable is a bad option. It's tedious and
risks bugs.
If I run it in terminal the following works fine:
[code]{
source mod_libtbx.python.sh
python
}[/code]
This brings up a python shell and all the imports work as desired.
Any advice is much appreciated. I'm on Mac OSX 10.6 and in the bash shell.
Thank you,
Alex
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users