title: How to configure setup.py to have pip install from GitHub master?
body: <p>Rather than pushing a release to PyPi and GitHub, it would be easier to have PyPi use the latest GitHub master. Is there are proper way to do this?</p>
  
  <p>I know you can list dependencies as GitHub repos in install_requires, but is there a way to do this for the primary package?</p>
  
  <p>For example, when you use easy_install to install Flask, it reads from multiple sources, including GitHub, which is listed in the setup URL ( <a href="https://github.com/mitsuhiko/flask/blob/master/setup.py#L78" rel="noreferrer">https://github.com/mitsuhiko/flask/blob/master/setup.py#L78</a>):</p>
  
  <pre><code>$ sudo easy_install Flask
  Searching for Flask
  Reading http://pypi.python.org/simple/Flask/
  Reading http://github.com/mitsuhiko/flask/
  </code></pre>
  
  <p>Is listing the URL in setup.py what causes easy_install to also read from GitHub?</p>
  
  <p>If so, will it always install from GitHub if the GitHub version is more current than the PyPi version?</p>
  
  <p>And does this work the same for pip?</p>