PyPI 400 upload error

后端 未结 2 1498
感动是毒
感动是毒 2021-02-07 08:20

I created a package in PyPI named virtdc. I made some changes and uploaded 2 different versions 0.1.0 and 0.1.1. Now I deleted version 0.1.1 through the PyPI web interface and t

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-07 08:22

    This worked for me:

    1. Delete the build, dist, and .egg-info folders in your root directory.
    2. Change version number in your setup.py file.
    3. Create distribution again. e.g: python setup.py sdist bdist_wheel
    4. Upload distribution again. e.g: twine upload dist/*
    5. enjoy! :-)

提交回复
热议问题