[Distutils] [setuptools] include_package_data=True missing files even when specified in MANIFEST.in

Chris Withers chris at simplistix.co.uk
Thu Aug 21 18:45:21 CEST 2008


Chris Withers wrote:
> 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.

I tried to brute force this by adding a MANIFEST.in next to setup.py 
containing :

recursive-include . *.cfg

...but still buldout.cfg wasn't included.

*sigh*

Any ideas?

Chris

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


More information about the Distutils-SIG mailing list