Can't upload to PyPi with Twine

后端 未结 7 1231
自闭症患者
自闭症患者 2021-01-11 12:58

I\'m trying to upload a python package to PyPi, using the following commands:

pip install -e .
python setup.py bdist_wheel --universal
twine upload --reposit         


        
7条回答
  •  Happy的楠姐
    2021-01-11 13:07

    PyPi and TestPyPi are separate instances of the package index which have separate user databases. Therefore, separate accounts must be created.

    Maybe you'll get lucky and the test account name won't be taken and you can use the same commands in test as in production.

    (Grumble, grumble, zen of python, grumble....)

提交回复
热议问题