title: Supplying NumPy site.cfg arguments to pip
body: <p>I'm using NumPy built against Intel's Math Kernel Library.  I use virtualenv, and typically use pip to install packages.  </p>
  
  <p>However, in order for NumPy to find the MKL libraries, it's necessary to create a site.cfg file in the NumPy source directory prior to compiling it, then manually build and install.  I could script this whole process, but I was hoping for a simpler solution.</p>
  
  <p>I have a standard site.cfg file that can be used for this purpose under version control.  Are there any pip command line options that will tell it to copy a particular file to the source directory before building a package?</p>
  
  <p>Alternatively, are there any environment variables that can be set instead of supplying the library paths in a site.cfg file?  Here is the site.cfg file that I use.  It was taken almost verbatim from <a href="http://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl" rel="noreferrer">Intel's site</a>.</p>
  
  <pre><code>[mkl]
  library_dirs = /opt/intel/composer_xe_2013.1.117/mkl/lib/intel64
  include_dirs = /opt/intel/composer_xe_2013.1.117/mkl/include
  mkl_libs = mkl_rt
  lapack_libs =
  </code></pre>
  
  <p>For reference, I'm running Ubuntu, Python 2.7, and NumPy 1.6.</p>