Buğra Gedik Buğra Gedik - 1 year ago 84
Python Question

Is it possible to upload multiple versions of the same package to pypiserver?

Say you have two different versions of the same package and want to upload them to

and have clients install the version they want via
. Is this possible?

Answer Source

Yes it is possible.

You just upload package twice setting different version (e.g. first 0.1 and second 0.2) in setup.py of your package.

Here is instruction how to upload: http://peterdowns.com/posts/first-time-with-pypi.html

Then user can install specific version using following command

pip install 'package_name==0.1'


pip install 'package_name<=0.1'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download