[Distutils] PYTHON_EGG_CACHE env setting
Phillip J. Eby
pje at telecommunity.com
Thu Nov 2 05:17:41 CET 2006
At 06:33 PM 11/1/2006 -0800, Venkat Bommakanti wrote:
>Hi,
>
> I have some components, that will need to be extracted by
> the Python eggs runtime (pkg_resources). I understand I
> can use the PYTHON_EGG_CACHE env setting to specify
>a desired loaction for extraction.
>
>
>However, was wondering if is there a config file setting or
>another mechanism to specify this location. Would need
> to avoid runtime env settings it my deployment.
See
http://peak.telecommunity.com/DevCenter/PkgResources#resource-extraction
for the API to change the extraction location, which merely defaults to
$PYTHON_EGG_CACHE if not explicitly set. You can use any of the normal
Python configuration points (such as sitecustomize.py or a .pth file) to
effect this setting.
More information about the Distutils-SIG
mailing list