python - pypi pakcage automatically uninstalling and upgrading other things? -


i have pypi package distribute requires django, in setup.py have this...

install_requires = ["django"] 

then in egg have requires.txt file this...

django 

now made new version , uploaded pypi , did pip install -u mypackage , uninstalled current django 1.10 , reinstalled django 1.10.1.

how can make leave users django version alone?

specify version dependencies like

install_requires = ["django>=1.8"] 

so if user has django less 1.8 upgrade.


Comments

Popular posts from this blog

many to many - Django Rest Framework ManyToMany filter multiple values -

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

Java Entity Manager - JSON reader was expecting a value but found 'db' -