title: How to register Entry Points for network python package installs?
body: <p>I have a user environment where most python packages are installed on a network share and are made available via the <code>PYTHONPATH</code> environment variable.  Python itself is still installed locally.  Some of those packages need to register setuptools <a href="http://pythonhosted.org/setuptools/pkg_resources.html#entry-points" rel="nofollow noreferrer">Entry Points</a>.  Normally, this would happen by running the <code>setup.py</code> file for the package, but because these are installed to a network location, that <code>setup.py</code> is never run with the local installation of python.</p>
  
  <p>Is there a way to register Entry Points without installing a package in the local python installation?</p>
  
  <p>An example of an entrypoint that registers a callback for a plugin system</p>
  
  <pre><code>setup(
      ...
      entry_points={
          'xx_plugin': ['value = package.module:func'],
      }
  ) 
  </code></pre>