Closed bitsgalore closed 4 years ago
@bitsgalore it's the twine version: https://github.com/pypa/twine/issues/454
As a workaround I commented out long_description and long_description_content_type from setup.py, ugly but at least this allows us to distribute the package:
https://github.com/openpreserve/jpylyzer/commit/1f4e90ca82bad54aff25de256d4bee1d29209d17
@bitsgalore I'd thought about suggesting that....
Closing because Dockerizing fixes this.
Trying to make the PyPi packages by running:
Result:
This indicates a problem with long_description in setup.py. So following the info in that link (https://pypi.org/help/#description-content-type), installed the readme_renderer, the latest twine version, and then:
build the package:
sudo python setup.py bdist_wheel --universal
test it:
~/.local/bin/twine check dist/*
Result:
So even though long_description_content_type in setup.py is set to 'text/markdown', for some reason twine does not understand this, assumes restructured text (which it uses as a default) and then rejects the upload.