A guide for updating packages on PyPi

后端 未结 2 643
萌比男神i
萌比男神i 2020-12-28 08:45

I used this guide to install a new package on PyPi.

Now, I want to update the package. Since I found no guide for this, I tried to do it myself: I updated the versi

2条回答
  •  清酒与你
    2020-12-28 09:46

    Sorry if i am replying too late but came across the same problem and found a way not to delete the existing dist folder:

    after updating the version in setup.py and recreating the wheel file,

    twine upload --skip-existing dist/*
    

    will skip the distribution that already exist and upload the newer ones

提交回复
热议问题