[wingide-users] Can't find setuptools packages?

Pete pfein at pobox.com
Mon May 19 10:11:44 MDT 2008


On May 19, 2008, at 10:33 AM, Wingware Support wrote:

> Pete wrote:
>> Wing can't seem to find setuptools packages for completion/ 
>> introspection purposes.  I'm pretty sure this was working for me  
>> with 3.1 in the recent past - dunno if the recent update to 3.1.0-1  
>> broke something or what...
>> Is there any way to see where Wing is looking for such things?  I  
>> just want to make sure I'm not doing something dumb on my end.
>
> You probably want to look at the effective python path list in the  
> Source -> Show Analysis Stats dialog box.


My project file lives in /Users/pfein/Projects/GrassyKnoll and the  
custom Python path in the project properties is /Users/pfein/lib/ 
python2.5 My source code lives in /Users/pfein/Projects/GrassyKnoll/ 
unhork, which is the only directory I have added to the project; it  
gets "activated" by setuptools using development mode, `python  
setup.py develop`

 From the commandline:

hotbox:~$ echo $PYTHONPATH
/Users/pfein/lib/python2.5
hotbox:~$ /opt/local/bin/python -c 'import sys; print  
"\n".join(sys.path)'

/Users/pfein/lib/python2.5/setuptools-0.6c8-py2.5.egg
/Users/pfein/lib/python2.5/yolk-0.3.0-py2.5.egg
/Users/pfein/lib/python2.5/Genshi-0.4.4-py2.5.egg
/Users/pfein/lib/python2.5/python_memcached-1.40-py2.5.egg
/Users/pfein/lib/python2.5/nose-0.10.1-py2.5.egg
/Users/pfein/lib/python2.5/wsgi_intercept-0.3.4-py2.5.egg
/Users/pfein/lib/python2.5/httplib2-0.4.0-py2.5.egg
/Users/pfein/lib/python2.5/python_dateutil-1.4-py2.5.egg
/Users/pfein/lib/python2.5/simplejson-1.8.1-py2.5-macosx-10.3-i386.egg
/Users/pfein/lib/python2.5/JCC-1.9-py2.5-macosx-10.3-i386.egg
/Users/pfein/lib/python2.5/lucene-2.3.1-py2.5-macosx-10.3-i386.egg
/Users/pfein/lib/python2.5/CherryPy-3.0.3-py2.5.egg
/Users/pfein/lib/python2.5/pylint-0.14.0-py2.5.egg
/Users/pfein/Projects/GrassyKnoll/unhork
/Users/pfein/lib/python2.5
/opt/local/lib/python25.zip
/opt/local/lib/python2.5
/opt/local/lib/python2.5/plat-darwin
/opt/local/lib/python2.5/plat-mac
/opt/local/lib/python2.5/plat-mac/lib-scriptpackages
/opt/local/lib/python2.5/lib-tk
/opt/local/lib/python2.5/lib-dynload
/opt/local/lib/python2.5/site-packages
/opt/local/lib/python2.5/site-packages/Numeric


Wing has the following:

/Users/pfein/Projects/GrassyKnoll
/Users/pfein/lib/python2.5
/Users/pfein/Projects/GrassyKnoll
/opt/local/lib/python25.zip
/opt/local/lib/python2.5
/opt/local/lib/python2.5/plat-darwin
/opt/local/lib/python2.5/plat-mac
/opt/local/lib/python2.5/plat-mac/lib-scriptpackages
/opt/local/lib/python2.5/lib-tk
/opt/local/lib/python2.5/lib-dynload
/opt/local/lib/python2.5/site-packages
/opt/local/lib/python2.5/site-packages/Numeric

It appears that wing's not picking up easy-install.pth in /Users/pfein/ 
lib/python2.5 ; there's also a comment-less setuptools supplied  
site.py in that dir that does... something.

--Pete


More information about the wingide-users mailing list