title: Installing Python Package from Github Using PIP
body: <p>I've seen it documented that you can install a Github hosting Python package using pip via:</p>
  
  <pre><code>sudo pip install -e git+git://github.com/myuser/myproject.git#egg=myproject
  </code></pre>
  
  <p>However, this appears to install the package to the current working directory, which is almost never where is should be.</p>
  
  <p>How do you instruct pip to install it into the standard Python package directory (e.g. on Ubuntu this is /usr/local/lib/python2.6/dist-packages)?</p>