pypi pakcage automatically uninstalling and upgrading other things?
<p>I have a pypi package that I distribute that requires django, in my setup.py I have this...</p>

<pre><code>install_requires = ["Django"]
</code></pre>

<p>then in the egg I have a requires.txt file that is like this...</p>

<pre><code>Django
</code></pre>

<p>Now I just made a new version and uploaded it to <code>pypi</code> and did <code>pip install -U mypackage</code> and it uninstalled my current django 1.10 and reinstalled django 1.10.1.</p>

<p>How can I make it leave the users Django version alone? </p>

<p>Specify your version dependencies like</p>

<pre><code>install_requires = ["Django&gt;=1.8"]
</code></pre>

<p>So that if the user has <code>Django</code> less than <code>1.8</code> then only it will upgrade.</p>

python django