title: How do I install wxPython in virtualenv
body: <p>I'm on a Mac OSX Lion machine, and I've downloaded wxPython-src-2.9.3.1.tar.bz2. I then did the following (<em>note: output messages have been removed</em>):</p>
  
  <pre><code>$ tar -xjf wxPython-src-2.9.3.1.tar.bz2
  $ cd wxPython-src-2.9.3.1
  $ mkdir bld
  $ cd bld
  $ source /path/to/myvirtualenv/bin/activate
  (myvirtualenv)$ cross_compiling=yes
  (myvirtualenv)$ export MACOSX_DEPLOYMENT_TARGET=10.6.7
  (myvirtualenv)$ set arch_flags="-arch ppc64 "
  (myvirtualenv)$ ../configure \
  --with-mac --enable-monolithic --enable-threads --enable-unicode \
  --enable-debug_flag --enable-debug \
  --with-libpng --with-libjpeg --with-libtiff --enable-unicode \
  --with-opengl --enable-graphics_ctx --with-odbc --enable-gui \
  --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk --with-macosx-version-min=10.6 \
  CFLAGS="$arch_flags" CXXFLAGS="$arch_flags" CPPFLAGS="$arch_flags" LDFLAGS="$arch_flags" OBJCFLAGS="$arch_flags" OBJCXXFLAGS="$arch_flags" --prefix=/path/to/myvirtualenv/
  $ (myvirtualenv)make
  $ (myvirtualenv)make install
  </code></pre>
  
  <p>After that, I did get this message (<em>so I guess it succeeded</em>):</p>
  
  <pre><code>...
   ------------------------------------------------------
  
   The installation of wxWidgets is finished.  On certain
   platforms (e.g. Linux) you'll now have to run ldconfig
   if you installed a shared library and also modify the
   LD_LIBRARY_PATH (or equivalent) environment variable.
  
   wxWidgets comes with no guarantees and doesn't claim
   to be suitable for any purpose.
  
   Read the wxWindows Licence on licencing conditions.
  
   ------------------------------------------------------
  </code></pre>
  
  <p>And returned me to my shell. However, I cannot seem to use it</p>
  
  <pre><code>(myvirtualenv)$ python
  &gt;&gt;&gt; import wxversion
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named wxversion
  </code></pre>
  
  <p>Any ideas how I can have it installed in my virtualenv?</p>