Eric - 2011-07-28

If it matters, I am running Mac OS X 10.6.8, Eclipse 3.7.0, and PyDev 2.2.1.2011071313.

I have a python script which uses a tool in my PATH. This location in my PATH is added to the PATH in my .bash_profile.

When I create a PyDev project containing this script and debug it, I can do a os.system( 'printenv' ) from the console and see that the location is not in the PATH variable. So, as a result, the script fails.

My question is how can I get the same path within the Eclipse environment as I have in the terminal?

I also have a few custom locations in my PYTHONPATH setup in .bash_profile as well. How can I set them up within the Eclipse environment as well?

Thank you.