[SciPy-dev] setup.py sdist and bzr

David Cournapeau cournape@gmail....
Sun Aug 23 10:26:33 CDT 2009

On Sun, Aug 23, 2009 at 7:39 AM, <josef.pktd@gmail.com> wrote:
> 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?

I strongly advise you not to use this "feature" of setuptools. Using
the source control system to decide which files to include brings a
lot of trouble (it makes reproducing the same tarball very difficult,
and strongly dependent on your environment).



More information about the Scipy-dev mailing list