title: setup.py install location?
body: <p>I'm running Mac OS X Lion 10.7.1 that has both python 2.6 and 2.7 installed. I've made 2.6 my default version. I am trying to install a package and it installs to 2.7. My setup looks like this:</p>
  
  <pre><code>~:hi› which python
  /usr/bin/python
  
  ~:hi› python -V
  Python 2.6.6
  
  ~:hi› python
  Python 2.6.6 (r266:84292, Jun 16 2011, 16:59:16) 
  [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import sys
  &gt;&gt;&gt; sys.prefix
  '/System/Library/Frameworks/Python.framework/Versions/2.6'
  &gt;&gt;&gt; sys.exec_prefix
  '/System/Library/Frameworks/Python.framework/Versions/2.6'
  </code></pre>
  
  <p>Shouldn't it be installed in 2.6 site-packages? Am I misunderstanding how this ought to work?</p>
  
  <p><strong>Edit</strong></p>
  
  <ul>
  <li><p>The package in question is <a href="http://www.doughellmann.com/docs/virtualenvwrapper/" rel="nofollow">virtuanenvwrapper</a></p></li>
  <li><p>I made 2.6 my default version like so:</p>
  
  <pre><code>defaults write com.apple.versioner.python Version 2.6
  </code></pre></li>
  <li><p>I tried installing it like this:</p>
  
  <pre><code>sudo python setup.py install
  sudo /usr/bin/python setup.py install
  </code></pre></li>
  </ul>