On Tue, Sep 28, 2010 at 2:15 PM, Tres Seaver <tres.sea
...@gmail.com> wrote:
> On 09/28/2010 01:14 PM, Brad Buran wrote:
>> I created a virtualenv using --no-site-packages for development. I
>> was able to install most of the packages I need in this virtualenv
>> using pip; however, I've been having difficulty getting PyQt4 and
>> wxPython installed (they don't seem to have a setup.py file). I gave
>> up and just used apt-get to install these packages to the global site-
>> packages directory.
>> Now that I've installed these two packages to the global site-packages
>> directory, I'd like to add them to my virtualenv. Is there a
>> recommended way of adding these two packages to my virtualenv (without
>> cluttering the virtualenv with all the additional Python packages that
>> Ubuntu seems to install by default)? It appears that PyQt4 lives
>> under /usr/lib/pymodules/python2.6/PyQt4. Should I just create a
>> symlink from my virtualenv site-packages directory or copy the files
>> from this folder over?
> symlinks are the recommended way to get a "partial site-packages" setup
> working.
> Tres.
> --
> ===================================================================
> Tres Seaver +1 540-429-0999 tsea...@palladion.com
> Palladion Software "Excellence by Design" http://palladion.com