Commit 46eb9e65 authored by PJ Eby's avatar PJ Eby

Thanks to Richard Jones, we no longer need to fake out PyPI with a '.zip'

extension for eggs.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041213
parent 6861a1ff
......@@ -625,7 +625,7 @@ addition, the following methods are provided:
``__str__()``
The string form of an ``EntryPoint`` is a string that could be passed to
``EntryPoint.parse()`` to yield an equivalent ``EntryPoint``.
``EntryPoint.parse()`` to produce an equivalent ``EntryPoint``.
``Distribution`` Objects
......
......@@ -73,12 +73,9 @@ class upload(Command):
# Fill in the data
content = open(filename,'rb').read()
basename = os.path.basename(filename)
if basename.endswith('.egg'):
basename += '.zip'
comment = ''
if command=='bdist_egg':
command='sdist'
comment='Binary egg for use with setuptools'
if command=='bdist_egg' and self.distribution.has_ext_modules():
comment = "built on %s" % platform.platform(terse=1)
data = {
':action':'file_upload',
'protcol_version':'1',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment