Tarek Ziadé wrote:
I tested and it works for me with distutils@2.6 and I tried with the current trunk:
Well, something must be different, have you double checked your sys.path? C:\LocalSVN\errorhandler\branches\docs>python -c "import sys; print '\n'.join(sys.path)" C:\WINDOWS\system32\python25.zip C:\Python25\DLLs C:\Python25\lib C:\Python25\lib\plat-win C:\Python25\lib\lib-tk C:\Python25 C:\Python25\lib\site-packages C:\Python25\lib\site-packages\gtk-2.0 C:\Python25\lib\site-packages\win32 C:\Python25\lib\site-packages\win32\lib C:\Python25\lib\site-packages\Pythonwin C:\LocalSVN\errorhandler\branches\docs>del MANIFEST C:\LocalSVN\errorhandler\branches\docs>type setup.py import os from distutils.core import setup package_name = 'errorhandler' package_dir = os.path.join(os.path.dirname(__file__),package_name) setup( name=package_name, ) C:\LocalSVN\errorhandler\branches\docs>type MANIFEST.in include buildout.cfg C:\LocalSVN\errorhandler\branches\docs>\Python26\python.exe --version Python 2.6.2 C:\LocalSVN\errorhandler\branches\docs>set DISTUTILS_DEBUG=true C:\LocalSVN\errorhandler\branches\docs>\Python26\python.exe setup.py sdist 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 warning: sdist: missing required meta-data: version, url warning: sdist: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) mus t be supplied checking if setup.py newer than MANIFEST warning: sdist: standard file not found: should have one of README, README.txt reading manifest template 'MANIFEST.in' include buildout.cfg include_pattern: applying regex r'^buildout\.cfg$' adding buildout.cfg Distribution.get_command_obj(): creating 'build' command object exclude_pattern: applying regex r'^build\.*' removing buildout.cfg ... Maybe you have soem .rc file somewhere that distutils is picking up? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk