[Distutils] [setuptools] svn'ed file being missed with include_package_data=True

Chris Withers chris at simplistix.co.uk
Tue Aug 19 11:12:55 CEST 2008


Hi All,

I have a setup.py that looks roughly like:

import os
from setuptools import setup, find_packages
...
setup(
     ...
     packages=find_packages(),
     zip_safe=False,
     include_package_data=True,
     ...
     )

...and a file layout roughly like:

/bootstrap.py
/buildout.cfg
/setup.py
/mypackage/...

When I do setup.py sdist, the resulting .zip [1] file contains 
bootstrap.py and setup.py but not buildout.cfg, even though it is in svn.

What's going wrong here?

cheers,

Chris

[1] Anyone know how to get .tgz source builds on windows rather than
     .zips?

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list