In requirements.txt, what does tilde equals (~=) mean?
<p>In the <code>requirements.txt</code> for a Python library I am using, one of the requirements is specified like:</p>

<pre><code>mock-django~=0.6.10
</code></pre>

<p>What does <code>~=</code> mean?</p>

<blockquote>
  <p>A compatible release clause consists of the compatible release operator ~= and a version identifier. It matches any candidate version that is expected to be compatible with the specified version.</p>
</blockquote>

<p>You can read more here: <a href="https://www.python.org/dev/peps/pep-0440/#compatible-release" rel="nofollow">https://www.python.org/dev/peps/pep-0440/#compatible-release</a></p>

python requirements.txt