title: Install psutil without gcc
body: <p>Up to now we installed <a href="https://pypi.python.org/pypi/psutil" rel="noreferrer">psutil</a> via our custom pypi server.</p>
  
  <p>Now we have a new environment where we should not install gcc.</p>
  
  <p>Now the old way (pip starts gcc during install) does not work any more.</p>
  
  <p>The context:</p>
  
  <ul>
  <li>Linux servers</li>
  <li>python inside virtualenv</li>
  <li>All code needs to be deployed from our data center (without internet access)</li>
  </ul>
  
  <p>I see these alternatives:</p>
  
  <h1>RPM</h1>
  
  <p>Create a RPM. Since we already run our virtualenv with <code>--system-site-packages</code> this works. This forces all virtualenvs on the server to use the same version of <code>psutil</code>. But this would be no big problem.</p>
  
  <h1>Wheel</h1>
  
  <p>I have never used that.</p>
  
  <h1>Freeze</h1>
  
  <p>Use a tool like <code>cx_freeze</code>.  I have never done this before.</p>
  
  <h1>Other solution?</h1>
  
  <p>I guess there are other, maybe better, ways to solve this.</p>
  
  <h1>Background</h1>
  
  <p><code>psutil</code> is just an example in this case. The same question comes up for other python packages containing c-extensions. Imagine there are no RPMs here yet.</p>