[Distutils] Option --show-response not working properly when uploading to PyPI
Roy Hyunjin Han
starsareblueandfaraway at gmail.com
Thu May 12 10:09:21 CEST 2011
Hi,
When I try to upload a package to PyPI using the --show-response
option, I get the following result.
python setup.py sdist upload --show-response
Python 2.7 (r27:82500, Sep 16 2010, 18:03:06)
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Traceback (most recent call last):
File "setup.py", line 31, in <module>
zip_safe=True)
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/upload.py", line 60, in run
self.upload_file(command, pyversion, filename)
File "/usr/lib/python2.7/distutils/command/upload.py", line 189, in
upload_file
self.announce('-'*75, result.read(), '-'*75)
TypeError: announce() takes at most 3 arguments (4 given)
Please CC me if you are responding to this message.
Thanks,
RHH
More information about the Distutils-SIG
mailing list