I have been developing and deploying a project inside a virtualenv
initialized with —no-site-packages. So far, everything has been
smooth, but now I find I need to add the Xapian bindings to my
project's dependencies. The Xapian bindings aren't installable via
pip, so I am using a system package manager (homebrew on my dev
machine, yum on production) to install them. What are my options for
telling my making my virtualenvs aware of the Xapian bindings? Do I
have to recreate my virtualenvs without the —no-site-packages option?
(I would rather not do that, because I'd still like to keep my project
isolated modulo the Xapian bindings.) Is there some way I can package
up the Xapian bindings to make them installable via pip?
Thanks for your help,
Ryan
-- You received this message because you are subscribed to the Google Groups "virtualenv" group.
To post to this group, send email to python-virtualenv@googlegroups.com.
To unsubscribe from this group, send email to python-virtualenv+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/python-virtualenv?hl=en.
Ryan Shaw wrote:
> I have been developing and deploying a project inside a virtualenv
> initialized with —no-site-packages. So far, everything has been
> smooth, but now I find I need to add the Xapian bindings to my
> project's dependencies. The Xapian bindings aren't installable via
> pip, so I am using a system package manager (homebrew on my dev
> machine, yum on production) to install them. What are my options for
> telling my making my virtualenvs aware of the Xapian bindings? Do I
> have to recreate my virtualenvs without the —no-site-packages option?
> (I would rather not do that, because I'd still like to keep my project
> isolated modulo the Xapian bindings.) Is there some way I can package
> up the Xapian bindings to make them installable via pip?
Assuming that your virtualenvs are created from the system python (the
one with the Xapian bindings), you should be able to symlink entries
from /usr/lib/python2.x/site-packages into the
lib/python2.x/site-packages of your virtualenv.
Tres.
-- ===================================================================
Tres Seaver +1 540-429-0999 tsea...@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-- You received this message because you are subscribed to the Google Groups "virtualenv" group.
To post to this group, send email to python-virtualenv@googlegroups.com.
To unsubscribe from this group, send email to python-virtualenv+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/python-virtualenv?hl=en.