title: Environment specific pip.conf under anaconda
body: <p>I'm working on a Python library and using the anaconda distribution.  I install packages into a <code>conda</code> environment with both <code>conda</code> and <code>pip</code>.  I'd like to install Python packages from both PyPi and an in-house repository server (Sonatype Nexus).  To do this I need to set the <code>--extra-index-url</code> flag.   </p>
  
  <p>I'd like to make this reproducible to enable anyone to recreate the environment from a script so setting <code>--extra-index-url</code> from a command line invocation of <code>pip</code> isn't an option.</p>
  
  <p>I could set this globally in <code>$HOME/.pip/pip.conf</code>, which works, but this isn't transferrable to other users, at least not in an automated way.  </p>
  
  <p>Is there a way to set a <code>conda</code> environment specific <code>pip.conf</code> file?  Where would it be placed?  This would enable anyone to check out the library code and recreate the environment with all dependencies intact and pulling code from an internal repository?</p>