Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Best practice regarding bindings to C/C++ packages?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ryan Shaw  
View profile  
 More options May 3 2010, 9:36 pm
From: Ryan Shaw <ryans...@ischool.berkeley.edu>
Date: Mon, 3 May 2010 18:36:09 -0700 (PDT)
Local: Mon, May 3 2010 9:36 pm
Subject: [venv] Best practice regarding bindings to C/C++ packages?
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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tres Seaver  
View profile  
 More options May 3 2010, 9:56 pm
From: Tres Seaver <tres.sea...@gmail.com>
Date: Mon, 03 May 2010 21:56:04 -0400
Local: Mon, May 3 2010 9:56 pm
Subject: Re: [venv] Best practice regarding bindings to C/C++ packages?

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »