I have a Makefile target that uses a python script, like: %.abc: %.def python myscript.py
The problem is that myscript.py and some modules that myscript.py imports are not in the current directory, but in another place in the filesystem, say, /path/to/stuff. If this was a tcsh script, I would just do: setenv PYTHONPATH /path/to/stuff python myscript.py but this cannot be done from a Makefile. So what do I do? Is there another way to set the PYTHONPATH? Like giving an option to "python" itself? Or? /David -- http://mail.python.org/mailman/listinfo/python-list