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
Post a Comment