UploadToDeprecatedPyPIDetected: You're trying to upload to the legacy PyPI site 'https://pypi.python.org/pypi'. Uploading to those sites is deprecated.
The new sites are pypi.org and test.pypi.org. Try using https://upload.pypi.org/legacy/ (or https://test.pypi.org/legacy/) to upload your packages instead. These are the default URLs for Twine now.
More at https://packaging.python.org/guides/migrating-to-pypi-org/
This rings a bell. I need to configure twine now, I think. Yep, edit ``~/.pypirc``:
.. code::
[distutils]
index-servers =
pypi
pypitest
[pypi]
username=REDACTED
password=REDACTED
[pypitest]
username=REDACTED
password=REDACTED
.. note:: This file used to have some repository urls in it. These were old URLs (e.g. ``https://pypi.python.org/pypi`` listed above). I also tried updating them to new URLs (``https://pypi.org``), but got an HTTP error. Removing the URLs altogether seemed to work though:
.. code::
$ twine upload dist/sphinx_rigado_theme-0.0.13*
Uploading distributions to https://upload.pypi.org/legacy/