-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
sys.executable is nonsensical ( == None).
This causes some fun breakage in distutils. The shim fix is to manually modify distutils to point to the path of sys.executable every time it is called - but perhaps this should be configurable inside Jython itself.
The proposed fix would provide e.g. a -Djython='jython-name' parameter to the jython startup, which would then be queried via Jython with:
sys.executable = subprocess.check_output(('where','jython-name').replace('\r\n','')
And then have sys.executable set transparently for the distutils (and other) packages.
Currently this requires one manual modification to the ez_setup.py and two modifications to the distutils package (build.py @ 118 && sysconfig.py @ 30)
Metadata
Metadata
Assignees
Labels
No labels