README.rst__init__.pyconf.pyREADME point to the appropriate git branch (replace master by new branch sed -i 's/master/.../g' README.rst)latest by new tag, without sed!)twine upload dist/* --repository-url https://test.pypi.org/legacy/twine upload dist/* --repository-url https://upload.pypi.org/legacy/README.rst__init__.pyconf.pyv0.13b1 by v0.13.0)twine upload dist/* --repository-url https://test.pypi.org/legacy/twine upload dist/* --repository-url https://upload.pypi.org/legacy/I had to manually remove the rtd_sphinx_theme fork URL from the wheel metadata, see https://github.com/pypa/pip/issues/6301
All set! Closing :rocket:
I had to manually remove the rtd_sphinx_theme fork URL from the wheel metadata, see pypa/pip#6301
How did you solve this? I mean, in the end, did you add the URL to install the dependency using _git+https_ in _setup.py_ or anywhere?
The URL using PEP 508 external requirements is here:
https://github.com/poliastro/poliastro/blob/0.13.x/setup.cfg#L78
So what I did was, after python setup.py sdist bdist_wheel, I opened the .whl file (which is in fact a zip or a tgz) and manually changed the METADATA file, which originally contains this:
Requires-Dist: sphinx-rtd-theme @ https://github.com/Juanlu001/sphinx_rtd_theme/archive/avoid-require-redefinition.zip ; extra == 'dev'