Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Paul Moore
On 13 August 2013 01:01, Greg Ewing greg.ew...@canterbury.ac.nz wrote: Just a thought -- is there any need in this day and age for extensions to be limited to 3 characters? There's a bug affecting PowerShell, which Microsoft have pretty much confirmed that they won't fix, which means that

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread holger krekel
On Mon, Aug 12, 2013 at 20:55 +, Vinay Sajip wrote: Donald Stufft donald at stufft.io writes: Hopefully this all will solve this problem, as it is right now if you use setuptools entry points then Wheels erroneously pretend to be platform agnostic. That's not unreasonable, as long

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Vinay Sajip
Vinay Sajip vinay_sajip at yahoo.co.uk writes: While distlib currently uses bespoke launchers, I plan to update it before the next release to use the PEP 397 launcher compiled with SCRIPT_WRAPPER. One more data point - the launcher currently used by distlib is found at [1]. Since it doesn't

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Jason R. Coombs
-Original Message- From: Steve Dower [mailto:steve.do...@microsoft.com] Sent: Monday, 12 August, 2013 15:03 Jason R. Coombs wrote: 6. Two to three files to do the job of one. In fact, the job isn't much more than to invoke code elsewhere, so it seems ugly to require as many as

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread PJ Eby
On Tue, Aug 13, 2013 at 8:54 AM, Jason R. Coombs jar...@jaraco.com wrote: 1. Renames, deletes, and other actions must be synchronized. Why are you manually deleting or altering executables? Why are you renaming them at all? I've been using .exe wrappers since they were written, and have never

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Paul Moore
On 13 August 2013 16:58, PJ Eby p...@telecommunity.com wrote: 5. Files in use can't be replaced. Because a Windows executable that's in use is not allowed to be overwritten, But they can be renamed, and deleted afterwards. For example, when updating, you can do the simple dance of: 1.

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Oscar Benjamin
On 13 August 2013 17:33, Paul Moore p.f.mo...@gmail.com wrote: On another point you mention, Cygwin Python should be using Unix-style shell script wrappers, not Windows-style exes, surely? The whole point of Cygwin is that it emulates Unix, after all... So I don't see that as an argument

Re: [Distutils] PEP449 - Removal of the PyPI Mirror Auto Discovery and Naming Scheme

2013-08-13 Thread Donald Stufft
On Aug 10, 2013, at 9:07 PM, Donald Stufft don...@stufft.io wrote: [snip] Bueller? - Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread PJ Eby
On Tue, Aug 13, 2013 at 12:33 PM, Paul Moore p.f.mo...@gmail.com wrote: This works, but is an ugly, fragile workaround. It's *not* a huge problem, it's just how executables work on Windows, and all installers have to deal with this dance (it's why a lot of things need a reboot to complete

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Paul Moore
On 13 August 2013 18:08, Oscar Benjamin oscar.j.benja...@gmail.com wrote: On 13 August 2013 17:33, Paul Moore p.f.mo...@gmail.com wrote: On another point you mention, Cygwin Python should be using Unix-style shell script wrappers, not Windows-style exes, surely? The whole point of Cygwin

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Chris Barker - NOAA Federal
Just $0.02 from a user... I'm primarily an OS-X user these days, but have to do Windows once in a while, and help others do Windows (including as an intro to Python instructor) Once I discovered setuptools develop mode, I never looked bak -- it is simpl;y THE way to develop code, particularly if

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Paul Moore
On 13 August 2013 21:20, Chris Barker - NOAA Federal chris.bar...@noaa.govwrote: Conclusions: 1) an extra bunch of files is a on-issue for most users -- we just need something that works. Agreed - the extra files clutter is a relatively small issue. 2) the exe launcher is a bit fragile and

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Jason R. Coombs
From: Distutils-SIG [mailto:distutils-sig-bounces+jaraco=jaraco@python.org] On Behalf Of Paul Moore Sent: Tuesday, 13 August, 2013 17:28 In the interests of getting more concrete data, can I suggest that setuptools add an off-by-default option, which can be set globally using a config

Re: [Distutils] How to handle launcher script importability?

2013-08-13 Thread Chris Barker - NOAA Federal
On Tue, Aug 13, 2013 at 2:27 PM, Paul Moore p.f.mo...@gmail.com wrote: 3) I'd rather not have to mess with PATHEXT, and I particularly don't want to have to tell my students to do it -- environment variables are a pain, and somehow PATHEXT has been fragile for me (and I don't use Cygwin)