Ronald Oussoren wrote: > > On 16 Sep, 2007, at 21:44, Ian Bicking wrote: > >> Ronald Oussoren wrote: >>> On 15 Sep, 2007, at 18:09, Ian Bicking wrote: >>>> Hi all. I'm kind of giving up on workingenv, and have started working >>>> from virtual-python as a basis instead >>>> (http://pypi.python.org/pypi/virtualenv/). >>>> >>>> So the basic technique here is to copy the executable into >>>> /ENV/bin/python, and then sys.prefix will be '/ENV'. The standard >>>> Python installed on a Mac doesn't seem to do this -- the prefix remains >>>> '/opt/local/Library/Frameworks/Python.framework/Versions/2.4' >>>> regardless. (Custom built Python's on Mac work like normal.) >>> All framework builds behave as you describe, Modules/getpath.c >>> special-cases calculation of sys.prefix for framework builds of >>> Python (the prefix is inside the framework regardless of where the >>> executable is). >> >> Is there any way to effect that calculation? I.e., in a normal build >> that calculation is based on the location of the executable, so >> virtualenv moves the executable to effect that. > > Move the framework.
I don't really know what that means...? What exactly is the framework? -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org : Write code, do good : http://topp.openplans.org/careers _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
