Message9673
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. |
|
Date |
User |
Action |
Args |
2015-03-18 04:07:22 | zyasoft | set | messageid: <1426651642.82.0.0611790987379.issue2283@psf.upfronthosting.co.za> |
2015-03-18 04:07:22 | zyasoft | set | recipients:
+ zyasoft |
2015-03-18 04:07:22 | zyasoft | link | issue2283 messages |
2015-03-18 04:07:22 | zyasoft | create | |
|