Closed ewenmcneill closed 5 years ago
Testing the build here -> https://travis-ci.com/mithro/TinyFPGA-Bootloader/builds/97766350
I tried to be clever and it backfired. Trying again at https://travis-ci.com/mithro/TinyFPGA-Bootloader/builds/97766679
Ha... HTTPError: 400 Client Error: Invalid value for classifiers. Error: 'Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7' is not a valid choice for this field for url: https://upload.pypi.org/legacy/
The output looks better -> https://pypi.org/project/tinyprog/1.0.24.dev17/
Ahh, you don't have my newer setuptools...
This now works! https://pypi.org/project/tinyprog/1.0.24.dev18/
@mithro, the Summary: field (from description=) needs to be a single line, so replace newlines with spaces, and strip trailing white space.
Existing PyPI
PKG-INFO
has:but AFAICT we need:
as generated when we strip out these stray newlines in the
description=
values.python setup.py sdist
seems to produce sensible lookingPKG-INFO
now, but I've obviously not tried uploading this to PyPI. At minimum I think it should be better than now.Ewen