Re: [Distutils] Importable wheels using distlib/distil

2013-03-29 Thread Nick Coghlan
On Sat, Mar 30, 2013 at 8:52 AM, PJ Eby wrote: > On Fri, Mar 29, 2013 at 4:50 PM, Nick Coghlan wrote: >> You don't lose the place where you want the inserts to happen. Without >> the marker, you end up having to come up with a heuristic for "make >> insertions here" and that gets messy as you mod

Re: [Distutils] Importable wheels using distlib/distil

2013-03-29 Thread PJ Eby
On Fri, Mar 29, 2013 at 4:50 PM, Nick Coghlan wrote: > On Sat, Mar 30, 2013 at 6:42 AM, PJ Eby wrote: >> On Fri, Mar 29, 2013 at 3:55 PM, Nick Coghlan wrote: >>> No, mutating sys.path for versioned imports is a broken design. You >>> end up with two possibilities: >>> >>> * If you append, then y

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

2013-03-29 Thread Paul Moore
On 29 March 2013 22:15, Daniel Holth wrote: > Would pyzw be much better than reading the shebang line for Windows? Yes. A different executable has to be run (console or windows). A .pyz file with pythonw in the shebang would run py.exe and flash up a console window before starting pythonw.exe. P

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

2013-03-29 Thread Daniel Holth
Would pyzw be much better than reading the shebang line for Windows? On Mar 29, 2013 4:11 PM, "Nick Coghlan" wrote: > On Fri, Mar 29, 2013 at 8:43 AM, Daniel Holth wrote: > > WinZip will ignore anything in the front of the file since the zip > > directory doesn't reference it. The #! shebang is

[Distutils] "packaging-user" mailing list?

2013-03-29 Thread Marcus Smith
Some of the pypa people have been discussing beginning a "packaging-user" mailing list. - It would be open to *any* packaging or install user issues. - It would be on python.org - pip/virtualenv would use it instead of our "virtualenv" list - Other projects could(would) use it too: Setuptools (old

Re: [Distutils] Importable wheels using distlib/distil

2013-03-29 Thread Nick Coghlan
On Sat, Mar 30, 2013 at 6:42 AM, PJ Eby wrote: > On Fri, Mar 29, 2013 at 3:55 PM, Nick Coghlan wrote: >> No, mutating sys.path for versioned imports is a broken design. You >> end up with two possibilities: >> >> * If you append, then you can't override modules that have a default >> version avai

Re: [Distutils] Importable wheels using distlib/distil

2013-03-29 Thread PJ Eby
On Fri, Mar 29, 2013 at 3:55 PM, Nick Coghlan wrote: > No, mutating sys.path for versioned imports is a broken design. You > end up with two possibilities: > > * If you append, then you can't override modules that have a default > version available on sys.path. This is not an acceptable restrictio

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

2013-03-29 Thread Nick Coghlan
On Fri, Mar 29, 2013 at 8:43 AM, Daniel Holth wrote: > WinZip will ignore anything in the front of the file since the zip > directory doesn't reference it. The #! shebang is for Unix, would > point to the correct Python, and the +x flag would make it executable. > The mini PEP is for the .pyz regi

Re: [Distutils] Importable wheels using distlib/distil

2013-03-29 Thread Nick Coghlan
On Fri, Mar 29, 2013 at 2:02 AM, Vinay Sajip wrote: > Thanks for the feedback. How about if I change mount()/unmount() to: > > def mount(self, append=False, destdir=None): > """ > Unzip the wheel's contents to the specified directory, or to > a temporary directory if de

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

2013-03-29 Thread Donald Stufft
On Mar 29, 2013, at 3:40 PM, Nick Coghlan wrote: > On Fri, Mar 29, 2013 at 7:47 PM, Richard Jones wrote: >> On 29 March 2013 14:45, Tres Seaver wrote: >>> If we leave the main list the 'distutils-sig', and just announce that >>> 'catalog-sig' is retired, folks who want to follow the new list j

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

2013-03-29 Thread Nick Coghlan
On Fri, Mar 29, 2013 at 7:47 PM, Richard Jones wrote: > On 29 March 2013 14:45, Tres Seaver wrote: >> If we leave the main list the 'distutils-sig', and just announce that >> 'catalog-sig' is retired, folks who want to follow the new list just >> switch over. All the archives (mailman / gmane /

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

2013-03-29 Thread Richard Jones
On 29 March 2013 14:45, Tres Seaver wrote: > If we leave the main list the 'distutils-sig', and just announce that > 'catalog-sig' is retired, folks who want to follow the new list just > switch over. All the archives (mailman / gmane / etc.) stay valid, but > the list goes into moderated mode.