[SciPy-dev] setup.py sdist and bzr

josef.pktd at gmail.com josef.pktd at gmail.com
Sun Aug 23 10:39:41 EDT 2009


I had problems including data files in the source distribution
generated with setup.py sdist .

After spending some time with google, I figured out that
setuptools only includes files under svn version control by default,
but not under bzr

config.add_data_files(filename)
config.add_data_dir('scikits/statsmodels/tests')

worked with bdist_egg and bdist but not with sdist

I finally added a MANIFEST.in  file with almost  include *

Is the MANIFEST.in the only way or is there a better way similar to
the case with svn?

Josef



More information about the SciPy-Dev mailing list