[py-dev] setup.py broken in develop mode on trunk

Martijn Faassen faassen at startifact.com
Tue Aug 19 18:46:55 CEST 2008


Hi there,

In order to see whether a bugfix in Py trunk fixed a bug in my project, 
I tried installing the py trunk as a develop egg (using buildout). It's 
possible "python setup.py develop" is therefore similarly broken.

I see files mentioned in MANIFEST which don't exist, so initially I 
thought this was blocking things. It turns out however that setup.py has 
references to packages which at least don't appear to exist: py.io.test, 
py.test.rsession, py.test.terminal. After I remove those from setup.py 
things seem to work again (that is, I can run the code. I get errors. 
Another mail about those...)

With setuptools, MANIFEST shouldn't be necessary: you can instruct 
setup.py to automatically assume files that are checked into SVN are in 
manifest, with something like this:

from setuptools import find_packages

       package_dir={'': 'src'},
       packages=find_packages('py'),

Regards,

Martijn




More information about the Pytest-dev mailing list