-
Notifications
You must be signed in to change notification settings - Fork 262
BF: fix bug for Windows bat-file install #339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Windows .bat file shadow of Python script fails for paths with spaces. Thanks to P. Renner for the fix - see matthew-brett/myscripter#2
LGTM |
Thanks - merging. |
MRG: fix bug for Windows bat-file install Bug fix for Windows paths with spaces.
btw why bother with the custom solution if setuptools have entry points mechanism to generate all the necessary executables? see e.g. datalad or duecredit for an example |
First - I was old school in preferring a solution that doesn't have a run-time dependency on setuptools. Second, I find the entry-points mechanism ugly and confusing. Discussion at https://matthew-brett.github.io/pydagogue/installing_scripts.html |
On Tue, 11 Aug 2015, Matthew Brett wrote:
;) the only critique I see there is "Personally, I find the console_script mechanism more obscure than having script files." to my liking I found it not that obscure and actually pleasantly Another positive side-effect is that it requires moving script's Just my 1c |
Sure. Of course you can move as much of the scripting into the library as you want with the distutils approach, it's just setuptools forces you to do that. E.g : https://github.com/matthew-brett/wheels2dmg/blob/master/scripts/wheels2dmg I also find setuptools unpleasantly magical - like an incantation - and that always makes me feel uncomfortable. |
On Tue, 11 Aug 2015, Matthew Brett wrote:
yeap... the point though stands that there is then no need for such
Entire Python is like magic to me -- I just learned how to use it ;) But I am actually with you on "setuptools magic" -- that is why I was |
I also heard someone involved in the Python packaging system saying they were planning to make wheels installable without setuptools, implying that they (like me) want to avoid setuptools where possible. That might make it more common in the future to have Python installations without setuptools installed. |
MRG: fix bug for Windows bat-file install Bug fix for Windows paths with spaces.
Windows .bat file shadow of Python script fails for paths with spaces.
Thanks to P. Renner for the fix - see
matthew-brett/myscripter#2