Ciasto piekarz
Ciasto piekarz

Reputation: 8277

not able to update my package on pypi.org

I have made changes to package I had submitted long time back in 2015 now today I added support markdown on pypi and updated setup.py to support pip version 10,

however now I am facing a strange problem: If I run this command

python setup.py sdist upload -r http://pypi.org


Password:  # I enter the password
Submitting dist/maildiff-1.2.1.tar.gz to http://pypi.org
Server response (200): OK

but on pypi its not updated. The strange part is even if I enter wrong password I get the message

Submitting dist/maildiff-1.2.1.tar.gz to http://pypi.org
Server response (200): OK

Upvotes: 5

Views: 2885

Answers (2)

Abhisek
Abhisek

Reputation: 464

Just use the following commands after installing the module twine with Python 3

twine upload  dist/*
username: Enter your https://pypi.org username
Password: Enter your https://pypi.org password

Note: before uploading the package, you must verify your email ID from your pypi account.

Upvotes: 2

Ciasto piekarz
Ciasto piekarz

Reputation: 8277

@Martjin Pieters knew I will get my answer myself, I think I have spoken to him quite a lot of time on SO, so as I was troubleshooting I finally managed to upload to pypi:

I am not sure which one approach worked

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

or

python setup.py sdist upload

but its finally up yay... Thanks for your inputs @Martjin and your valued time (y)

Upvotes: 11

Related Questions