title: location of pip.conf file
body: <p>I am working on a system that has to work on both Windows and Linux.  Its uses Python's <code>venv</code> module for everything related to Python.  I need to create a <code>pip.conf</code> file to activate the pickup of my personal <code>~/.pip/pip.conf</code> to point it to our internal PyPi server instead of the global one. I also need to be able to hard code the values right into the <code>venv</code>'s <code>pip.conf</code> for other scenarios.  I can't figure out where the file should be placed.</p>
  
  <p>In short, sometimes I need it to use my personal <code>pip.conf</code>, sometimes I need it to use the <code>venv</code>'s <code>pip.conf</code>, on both Linux and Windows (my machine is Windows).</p>
  
  <p>The folder structure of my <code>venv</code> after creation is this:</p>
  
  <pre><code>myproject/build/venv/Include
                      /Lib
                      /Scripts
  </code></pre>
  
  <p>Where does the <code>pip.conf</code> go? I keep reading in the documentation <code>%virtual_env%/pip.conf</code> but when you don't know what the value of virtual_env, its a pretty useless statement.</p>
  
  <p>My guess is <code>myproject/build/venv/pip.conf</code>, am I right?</p>
  
  <p>edit**</p>
  
  <p>Well, I was wrong. Putting it in the root of the <code>venv</code> folder didn't work. I'm going to keep trying, problem is to redeploy this app after each code change takes an hour.</p>