[Distutils] pruning overridea MANIFEST.in

Chris Withers chris at simplistix.co.uk
Fri Sep 11 12:12:05 CEST 2009


Tarek Ziadé wrote:
>> My MANIFEST.in currently contains:
>>
>> include *
>>
> 
> this is suppose to include all file alongside setup.py
> (but no subdirs)

I know! ;-)

It's not though...

Using disutils and with the following MANIFEST.in and 
DISTUTILS_DEBUG=true in the environment:

Distribution.parse_config_files():
options (after parsing config files):
no commands known yet
options (after parsing command line):
option dict for 'sdist' command:
   {}
running sdist
Distribution.get_command_obj(): creating 'sdist' command object
checking if setup.py newer than MANIFEST
warning: sdist: standard file not found: should have one of README, 
README.txt
Distribution.get_command_obj(): creating 'build_py' command object
Distribution.get_command_obj(): creating 'build' command object
reading manifest template 'MANIFEST.in'
include buildout.cfg
include_pattern: applying regex r'^buildout\.cfg$'
  adding buildout.cfg
exclude_pattern: applying regex r'^build\.*'
  removing buildout.cfg

d'oh!

Chris

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


More information about the Distutils-SIG mailing list