Message9673

Author zyasoft
Recipients zyasoft
Date 2015-03-18.04:07:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426651642.82.0.0611790987379.issue2283@psf.upfronthosting.co.za>
In-reply-to
Content
I'm wrong, it's not in site.makepath, it's in sysconfig, which is imported by site. The expedient change would be:

_PREFIX = os.path.normpath(sys.prefix) if sys.prefix is not None else None
_EXEC_PREFIX = os.path.normpath(sys.exec_prefix) if sys.exec_prefix is not None else None

However this is not sufficient - most subsequent imports will fail.

The python.home property is nearly essential for Jython so that it can find its standard library. We try to guess, and sometimes we are right, but in general it needs to be set.

Revisit as we get more user feedback.
History
Date User Action Args
2015-03-18 04:07:22zyasoftsetmessageid: <1426651642.82.0.0611790987379.issue2283@psf.upfronthosting.co.za>
2015-03-18 04:07:22zyasoftsetrecipients: + zyasoft
2015-03-18 04:07:22zyasoftlinkissue2283 messages
2015-03-18 04:07:22zyasoftcreate