Can't upload to PyPi with Twine

后端 未结 7 1243
自闭症患者
自闭症患者 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条回答
  •  青春惊慌失措
    2021-01-11 13:12

    When we enter the password, the password is not wrong, and I think it's a bug.

    I use -u for the username and -p for the password directly without using the fields provided by the console(the default).

    I try to run this in the command: twine upload -u YOUR-USERNAME -p YOUR-PASSWORD - repository-url https://test.pypi.org/legacy/ dist / *

    I run that command on windows

    It works for me. Hope this will help

提交回复
热议问题