How to upload new versions of project to PyPI with twine?

后端 未结 5 377
鱼传尺愫
鱼传尺愫 2021-02-03 18:27

I\'ve uploaded my Python package to PyPI. But now I made new version of my package and need to upload it. I tried to make same progress which I did when upload the package first

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-03 19:14

    The error seems to stem from the command:

    twine upload --repository-url https://test.pypi.org/legacy/ dist/*
    reusing the previous package version.
    

    To fix this, try this:

    twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ 
    dist/*
    

提交回复
热议问题