Message3799

Author pjenvey
Recipients pjenvey
Date 2008-11-21.19:35:46
SpamBayes Score 1.3353887e-09
Marked as misclassified No
Message-id <1227296147.71.0.203322860238.issue1180@psf.upfronthosting.co.za>
In-reply-to
Content
The installer currently hardcodes JYTHON_HOME in the script runner. This 
makes the jython executable portable to other paths (which is the point) 
-- but this breaks virtualenv

We need to work like CPython in that the executable needs to detect what 
looks like a surrounding JYTHON_HOME and use that instead. virtualenv 
takes advantage of this by copying sys.executable to an entirely 
different HOME

We probably need the installer to hardcode something like a 
JYTHON_INSTALLED_HOME -- to be used as a last resort if the CPython like 
search fails

The responsible code in CPython seems to be Modules/getpath::calculate_path
History
Date User Action Args
2008-11-21 19:35:47pjenveysetrecipients: + pjenvey
2008-11-21 19:35:47pjenveysetmessageid: <1227296147.71.0.203322860238.issue1180@psf.upfronthosting.co.za>
2008-11-21 19:35:47pjenveylinkissue1180 messages
2008-11-21 19:35:46pjenveycreate