[Scons-users] Virtualenv and Scons?

Henry Gomersall heng at cantab.net
Thu Nov 19 09:26:37 EST 2015


On 07/09/13 01:17, Larry Gadallah wrote:
>> Date: Fri, 6 Sep 2013 14:16:17 -0700
>> From: Bill Deegan <bill at baddogconsulting.com>
>> Subject: Re: [Scons-users] Virtualenv and Scons?
>> To: SCons users mailing list <scons-users at scons.org>
>>
>> Larry,
>>
>>
>> So you want to run sphinx via python calls inside a SConstruct?
>> as in:
>> import sphinx
>> sphinx.do_something() ?
>>
>> -Bill
> 
> Hello Bill:
> 
> Yes, that is exactly what we want to do, except we don't want to have to
> have several dozen Python libraries installed in the system Python path on
> every build machine. We'd like to be able to create the Python environment
> on the fly, using virtualenv. Hence the desire to run virtualenv/pip
> inside a Sconstruct.
> 
> Thanks,
> 

Resurrecting a very old thread, I also want to this.

Is there a way to import libraries that reside only in a virtualenv
inside SCons?

Cheers,

Henry


More information about the Scons-users mailing list