[Distutils] twine: Binary wheel for an unsupported platform
Antoine Pitrou
solipsis at pitrou.net
Tue Oct 28 15:04:19 CET 2014
Hello,
I guess I am doing something wrong, but what?
(I took "linux_x86_64" after PEP 427 and 425)
$ twine upload dist/llvmlite-0.1-py2.py3-none-linux_x86_64.whl
Uploading distributions to https://pypi.python.org/pypi
Uploading llvmlite-0.1-py2.py3-none-linux_x86_64.whl
Traceback (most recent call last):
File "/home/antoine/.local/lib/python3.4/site-packages/twine/commands/upload.py", line 228, in main
upload(**vars(args))
File "/home/antoine/.local/lib/python3.4/site-packages/twine/commands/upload.py", line 183, in upload
resp.raise_for_status()
File "/home/antoine/.local/lib/python3.4/site-packages/requests/models.py", line 825, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Binary wheel for an unsupported platform
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/.local/bin/twine-upload", line 11, in <module>
sys.exit(main())
File "/home/antoine/.local/lib/python3.4/site-packages/twine/commands/upload.py", line 230, in main
sys.exit("{0}: {1}".format(exc.__class__.__name__, exc.message))
AttributeError: 'HTTPError' object has no attribute 'message'
(also note the Python 3 buglet in main() above)
Regards
Antoine.
More information about the Distutils-SIG
mailing list