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

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -