I've been trying to test a new app I'm working on and it appears that my sys.path has been corrupted somehow, because Python doesn't see things in my site-packages directory.

My $PATH is correctly set up:

which python
/Library/Frameworks/Python64.framework/Versions/Current/bin/python

However, when I run this Python, I get this output:

>>> import sys
>>> sys.path
['', '/Users/kevin/Programming/phynchronicity/build/Phynchronicity.app/Contents/Resources', '/Users/kevin/Programming/phynchronicity/build/Phynchronicity.app/Contents/Resources/Modules.zip']

This specific path is the sys.path for one of my applications wrapped by bundlebuilder--not the expected one!

Does anyone have any idea what might cause my framework build of Python to see sys.path only in the build directory of one of my apps? I don't typically jigger my Python settings with .pth files so I have no idea what to look for.

TIA,
Kevin


--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to