[Distutils] trouble making egg...

Phillip J. Eby pje at telecommunity.com
Mon Aug 20 19:44:17 CEST 2007


At 09:46 AM 8/14/2007 +0100, Chris Withers wrote:
>Phillip J. Eby wrote:
>>At 10:46 AM 8/13/2007 +0100, Chris Withers wrote:
>>>Phillip J. Eby wrote:
>>>>>Given the component.xml in there, I'm pretty sure I need to add a
>>>>>zip_safe=True, but what else do I need to do to get setup.py to
>>>>>correctly build an egg and a source distro?
>>>>Short answer: move the package and any data files that should be 
>>>>included to a mailinglogger/ subdirectory.
>>>
>>>What ends up in the root folder then? just the setup.py?
>>and anything else you want in the source distro, like the docs and 
>>examples.  I also usually throw my tests there, and don't 
>>distribute them with the egg, but preferences vary.
>
>Okay, I think I have this now:
>
>https://secure.simplistix.co.uk/svn/Simplistix/mailinglogger/tags/3.2.1/
>
>However, when I do:
>
>python2.4 setup.py sdist bdist_egg upload
>
>...none of the package metadata gets uploaded:
>
>http://pypi.python.org/pypi?:action=display&name=mailinglogger&version=3.2.1
>
>This used to work:
>
>http://pypi.python.org/pypi?:action=display&name=mailinglogger&version=3.2.0
>
>...and I can't see any changes in my setup.py that might be relevent.
>
>Any ideas? Is there a problem with PyPi at the moment?

No idea; but it looks correct to me now.



More information about the Distutils-SIG mailing list