Re: [Distutils] Builders vs Installers

2013-03-28 Thread Paul Moore
On 28 March 2013 02:05, Nick Coghlan ncogh...@gmail.com wrote: On Thu, Mar 28, 2013 at 11:43 AM, Donald Stufft don...@stufft.io wrote: I don't think you can, nor should you be able to, explicitly depend on something that is a VCS checkout. I find it more useful to think of the issue as

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Paul Moore
On 28 March 2013 11:40, Philippe Ombredanne pombreda...@nexb.com wrote: This is not a zip, not an egg, not a wheel but some egg-in-py, zip-in-py or wheel-in-py and is similar to a shar shell archive. My point was that on the one hand, I like the fact that everything is self contained in one

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Daniel Holth
If it was distributed as such virtualenv could read blobs out of its own zip file, use the get_data() API to read non-module, or add subdirectories inside its zip file to sys.path On Thu, Mar 28, 2013 at 8:32 AM, Paul Moore p.f.mo...@gmail.com wrote: On 28 March 2013 11:40, Philippe Ombredanne

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Paul Moore
On 28 March 2013 12:26, Daniel Holth dho...@gmail.com wrote: The launcher will be updated to understand this format and Python will register this filename association when it is installed. The launcher should need no changes. The Python msi installer would need a change to register the new

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Daniel Holth
On Thu, Mar 28, 2013 at 8:43 AM, Paul Moore p.f.mo...@gmail.com wrote: On 28 March 2013 12:26, Daniel Holth dho...@gmail.com wrote: The launcher will be updated to understand this format and Python will register this filename association when it is installed. The launcher should need no

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Paul Moore
On 28 March 2013 12:45, Daniel Holth dho...@gmail.com wrote: On Thu, Mar 28, 2013 at 8:43 AM, Paul Moore p.f.mo...@gmail.com wrote: On 28 March 2013 12:26, Daniel Holth dho...@gmail.com wrote: The launcher will be updated to understand this format and Python will register this filename

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Vinay Sajip
From: Paul Moore p.f.mo...@gmail.com Yes, my point was that Vinay's usage could be covered by distributing distil as a zip file. All it is doing is decoding it's blob of data (which is an encoded zip file) and then adding the resulting zip to sys.path. [snip] I hope that embedded binary

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Daniel Holth
On Thu, Mar 28, 2013 at 9:11 AM, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: From: Paul Moore p.f.mo...@gmail.com Yes, my point was that Vinay's usage could be covered by distributing distil as a zip file. All it is doing is decoding it's blob of data (which is an encoded zip file) and then

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Paul Moore
On 28 March 2013 13:11, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: I don't know if it's that important to distinguish between the two. I found the approach I'm using with distil to be a tad more flexible in my case. A runnable zip has the advantage that it's harder to tinker with, but with

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Vinay Sajip
From: Philippe Ombredanne pombreda...@nexb.com On the other hand, I find it somewhat discomforting as an emerging best way to package and distribute self-contained bootstrap scripts. But what is the root cause of that discomfort? The distil approach is slightly more discoverable than a

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Vinay Sajip
From: Daniel Holth dho...@gmail.com Also if you are looking for tweakability you can run a directory with the same contents of the .zip exactly the same as if it was a zip. Sure, but my smoke testing involved copying the tweaked distil.py to a network share, then running that file from other

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Philippe Ombredanne
On Thu, Mar 28, 2013 at 2:33 PM, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: From: Philippe Ombredanne pombreda...@nexb.com On the other hand, I find it somewhat discomforting as an emerging best way to package and distribute self-contained bootstrap scripts. Virtualenv does it, distil is

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Daniel Holth
Not really trying to tell Vinay to rewrite his script, but IMHO if you expect it unzip is a lot easier than file.write(module.random_attribute.decode('base64')). The runnable zip feature is awesome, not well enough known, and totally worth promoting over the shar pattern; with some minimal tooling

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Vinay Sajip
Philippe Ombredanne pombredanne at nexb.com writes: Conceptually I find these no different from setup.py scripts, and these have been mostly normalized (or at the minimum have a conventional name and a conventional if not specified interface.) Except that you programmatically interface (to

Re: [Distutils] Importable wheels using distlib/distil

2013-03-28 Thread Vinay Sajip
Jim Fulton jim at zope.com writes: It would be far better IMO to just unzip the wheel and put that in your path. (I'm hoping that wheels used this way are a suitable replacement for eggs.) Well that's tantamount to installing the wheel, Not really. If you just unzip the wheel and

Re: [Distutils] Importable wheels using distlib/distil

2013-03-28 Thread Paul Moore
On 28 March 2013 16:02, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: Return this directory. Note that the caller is responsible for deleting this directory and its contents, which might not be possible - e.g. in Windows, if a shared library has been imported and is linked

Re: [Distutils] Importable wheels using distlib/distil

2013-03-28 Thread Jim Fulton
On Thu, Mar 28, 2013 at 12:02 PM, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: Jim Fulton jim at zope.com writes: It would be far better IMO to just unzip the wheel and put that in your path. (I'm hoping that wheels used this way are a suitable replacement for eggs.) Well that's

Re: [Distutils] Importable wheels using distlib/distil

2013-03-28 Thread Thomas Heller
Am 28.03.2013 17:42, schrieb Paul Moore: On 28 March 2013 16:02, Vinay Sajip vinay_sa...@yahoo.co.uk wrote: Return this directory. Note that the caller is responsible for deleting this directory and its contents, which might not be possible - e.g. in Windows, if a shared

Re: [Distutils] Importable wheels using distlib/distil

2013-03-28 Thread Vinay Sajip
Jim Fulton jim at zope.com writes: So the win for buildout and it's users is to be able to have extracted (but not installed wheels) around to be mixed and matched either for script generation or run-time use. If I wasn't using buildout, I kinda doubt I'd want to use something like this

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Steve Dower
Daniel Holth dholth at gmail.com writes: file.write(module.random_attribute.decode('base64')). The runnable zip feature is awesome, not well enough known, and totally worth promoting over the shar pattern; with some minimal tooling you'd be good to go. Runnable zips sound great - I

[Distutils] Merge catalog-sig and distutils-sig

2013-03-28 Thread Donald Stufft
Is there much point in keeping catalog-sig and distutils-sig separate? It seems to me that most of the same people are on both lists, and the topics almost always have consequences to both sides of the coin. So much so that it's often hard to pick *which* of the two (or both) lists you post

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Jim Fulton
On Thu, Mar 28, 2013 at 2:22 PM, Donald Stufft don...@stufft.io wrote: Is there much point in keeping catalog-sig and distutils-sig separate? Not IMO. It seems to me that most of the same people are on both lists, and the topics almost always have consequences to both sides of the coin. So

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread holger krekel
On Thu, Mar 28, 2013 at 14:22 -0400, Donald Stufft wrote: Is there much point in keeping catalog-sig and distutils-sig separate? It seems to me that most of the same people are on both lists, and the topics almost always have consequences to both sides of the coin. So much so that it's

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Fred Drake
On Thu, Mar 28, 2013 at 2:22 PM, Donald Stufft don...@stufft.io wrote: Is there much point in keeping catalog-sig and distutils-sig separate? No. The last time this was brought up, there were objections, but I don't remember what they were. I'll let people who think there's a point worry about

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Marcus Smith
+1 ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread PJ Eby
On Thu, Mar 28, 2013 at 3:14 PM, Fred Drake f...@fdrake.net wrote: On Thu, Mar 28, 2013 at 2:22 PM, Donald Stufft don...@stufft.io wrote: Is there much point in keeping catalog-sig and distutils-sig separate? No. The last time this was brought up, there were objections, but I don't remember

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Donald Stufft
On Mar 28, 2013, at 3:39 PM, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 3:14 PM, Fred Drake f...@fdrake.net wrote: On Thu, Mar 28, 2013 at 2:22 PM, Donald Stufft don...@stufft.io wrote: Is there much point in keeping catalog-sig and distutils-sig separate? No. The last

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread PJ Eby
On Thu, Mar 28, 2013 at 1:54 PM, Steve Dower steve.do...@microsoft.com wrote: And, I'm almost certain that most if not all existing ZIP tools on Windows will fail to open files with a shebang, since they've never had to deal with them. Actually, the opposite is true, at least for 3rd-party

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Daniel Holth
On Thu, Mar 28, 2013 at 3:49 PM, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 1:54 PM, Steve Dower steve.do...@microsoft.com wrote: And, I'm almost certain that most if not all existing ZIP tools on Windows will fail to open files with a shebang, since they've never had to

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread holger krekel
On Thu, Mar 28, 2013 at 15:42 -0400, Donald Stufft wrote: On Mar 28, 2013, at 3:39 PM, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 3:14 PM, Fred Drake f...@fdrake.net wrote: On Thu, Mar 28, 2013 at 2:22 PM, Donald Stufft don...@stufft.io wrote: Is there much point in

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread PJ Eby
On Thu, Mar 28, 2013 at 3:43 PM, Donald Stufft don...@stufft.io wrote: On Mar 28, 2013, at 3:39 PM, PJ Eby p...@telecommunity.com wrote: Can we do it by just dropping catalog-sig and keeping distutils-sig? I'm afraid we might lose some important distutils-sig population if the process involves

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Donald Stufft
On Mar 28, 2013, at 4:04 PM, holger krekel hol...@merlinux.eu wrote: On Thu, Mar 28, 2013 at 15:42 -0400, Donald Stufft wrote: On Mar 28, 2013, at 3:39 PM, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 3:14 PM, Fred Drake f...@fdrake.net wrote: On Thu, Mar 28, 2013 at 2:22

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Jacob Kaplan-Moss
As a mostly-lurker on both who would love to cut down on the number of lists I have to follow: a hearty +1! Jacob On Thu, Mar 28, 2013 at 1:22 PM, Donald Stufft don...@stufft.io wrote: Is there much point in keeping catalog-sig and distutils-sig separate? It seems to me that most of the same

Re: [Distutils] Merge catalog-sig and distutils-sig

2013-03-28 Thread Philippe Ombredanne
On Thu, Mar 28, 2013 at 7:22 PM, Donald Stufft don...@stufft.io wrote: Is there much point in keeping catalog-sig and distutils-sig separate? It seems to me that most of the same people are on both lists, and the topics almost always have consequences to both sides of the coin. So much so

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Richard Jones
I think I'm the only one on the list who probably would have objected but I'm on both now so whatever :-) Richard On 29 March 2013 07:32, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 3:43 PM, Donald Stufft don...@stufft.io wrote: On Mar 28, 2013, at 3:39 PM, PJ Eby

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/28/2013 04:32 PM, PJ Eby wrote: On Thu, Mar 28, 2013 at 3:43 PM, Donald Stufft don...@stufft.io wrote: On Mar 28, 2013, at 3:39 PM, PJ Eby p...@telecommunity.com wrote: Can we do it by just dropping catalog-sig and keeping distutils-sig?

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Donald Stufft
On Mar 28, 2013, at 5:42 PM, Tres Seaver tsea...@palladion.com wrote: Signed PGP part On 03/28/2013 04:32 PM, PJ Eby wrote: On Thu, Mar 28, 2013 at 3:43 PM, Donald Stufft don...@stufft.io wrote: On Mar 28, 2013, at 3:39 PM, PJ Eby p...@telecommunity.com wrote: Can we do it by just

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Steve Dower
Daniel Holth wrote: On Thu, Mar 28, 2013 at 3:49 PM, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 1:54 PM, Steve Dower steve.do...@microsoft.com wrote: And, I'm almost certain that most if not all existing ZIP tools on Windows will fail to open files with a shebang, since

Re: [Distutils] Self-contained boostrap scripts [was: Re: A new, experimental packaging tool: distil]

2013-03-28 Thread Daniel Holth
On Thu, Mar 28, 2013 at 6:19 PM, Steve Dower steve.do...@microsoft.com wrote: Daniel Holth wrote: On Thu, Mar 28, 2013 at 3:49 PM, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 1:54 PM, Steve Dower steve.do...@microsoft.com wrote: And, I'm almost certain that most if not all

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread PJ Eby
On Thu, Mar 28, 2013 at 5:15 PM, Jacob Kaplan-Moss ja...@jacobian.org wrote: C'mon, folks, we're arguing about a name. That's about as close to literal bikeshedding as we could get. I'm not arguing about the *name*. I just don't see the point in making everybody subscribe to a new list and

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Donald Stufft
On Mar 28, 2013, at 7:28 PM, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 5:15 PM, Jacob Kaplan-Moss ja...@jacobian.org wrote: C'mon, folks, we're arguing about a name. That's about as close to literal bikeshedding as we could get. I'm not arguing about the *name*. I just

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Dennis Coldwell
But whatever, I hate the pointless duplication and just want to kill the overlap. Agree, +1 to merging into one list. On Thu, Mar 28, 2013 at 4:45 PM, Donald Stufft don...@stufft.io wrote: On Mar 28, 2013, at 7:28 PM, PJ Eby p...@telecommunity.com wrote: On Thu, Mar 28, 2013 at 5:15 PM,

Re: [Distutils] Merge catalog-sig and distutils-sig

2013-03-28 Thread Barry Warsaw
On Mar 28, 2013, at 02:22 PM, Donald Stufft wrote: Is there much point in keeping catalog-sig and distutils-sig separate? Without yet reading the whole thread, I'll just mention that it's probably easier to just retire one or the other mailing lists and divert all discussion to the other one.

Re: [Distutils] [Catalog-sig] Merge catalog-sig and distutils-sig

2013-03-28 Thread Barry Warsaw
On Mar 28, 2013, at 03:42 PM, Donald Stufft wrote: Don't care how it's done. I don't know Mailman enough to know what is possible or how easy things are. I thought packaging-sig sounded nice but if you can't rename + redirect or merge or something in mailman I'm down for whatever. Renaming can