Message11360

Author stefan.richthofer
Recipients darjus, stefan.richthofer, zyasoft
Date 2017-05-07.10:48:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494154125.74.0.128358150072.issue2570@psf.upfronthosting.co.za>
In-reply-to
Content
So, in a Jython sprint we investigated this issue and found the regression point. It's actually a regression in setup tools:
https://github.com/pypa/setuptools/commit/2b3cf9b12b23ac6beca6808c4c7620aa77f168e3
(added darjus to nosy for this)

Take a look at the discarded method as_header:
It contained the shebang correction that is vital for OSX.

In Jython-side this commit pulled the regression into Jython:
https://github.com/jythontools/jython/commit/5c5b20ed24ef5a9bc7b97abab9f45e506b9f25da

So, how should we fix it? Restore the relevant code in setuptools?
Or maybe better monkeypatch setuptools from Jython, so we have better control over this aspect, wich might be convenient if launchers change over time etc...
E.g. I suppose this problem would go away if we could introduce LiJy-launch as default launcher: https://github.com/Stewori/LiJy-launch
(It is constrained to OpenJDK's license (GPL with classpath exception) because it inherits from OpenJDK C-code. Don't know what trouble it would make to have a stricter license just for the launcher. The launcher is usually not subject to library binding etc.; Also, I will take a look if I can maybe remove or rewrite the relevant code, or maybe we can ask OpenJDK for permission to use the code snippet in question under PSF2 license.)
History
Date User Action Args
2017-05-07 10:48:45stefan.richthofersetmessageid: <1494154125.74.0.128358150072.issue2570@psf.upfronthosting.co.za>
2017-05-07 10:48:45stefan.richthofersetrecipients: + stefan.richthofer, zyasoft, darjus
2017-05-07 10:48:45stefan.richthoferlinkissue2570 messages
2017-05-07 10:48:44stefan.richthofercreate