Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Martin v. Löwis
As for terminology, you seem to suggest to use "distribution" where Debian uses "package". So "Debian package" would become "Debian distribution". This does not sound right, because "Debian distribution" is the entire collection of packages that is released e.g. on a DVD-ROM. I'll try to use "proj

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Paul Moore
On 11/22/05, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > Actually loading the module then requires decompressing > the code which takes a whole lot longer than just reading > a file from the file system. > > In summary, things get slower when importing from ZIP files; > it really only makes sense fo

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Vincenzo Di Massa
Alle 11:08, mercoledì 23 novembre 2005, Martin v. Löwis ha scritto: > > easy_deb implements this, so it seems to me it would be a simple matter > > of running easy_deb to produce the .deb from the .egg.  (Caveat: I have > > not used easy_deb, but its author assures me that it is able to handle > >

Re: [Distutils] .egg in Debian summary?

2005-11-23 Thread Vincenzo Di Massa
Alle 07:17, mercoledì 23 novembre 2005, Bob Tanner ha scritto: > 1. Do nothing, go with the status quo as documented in the Debian python > policy, which is no .egg's and unpackage everything into a sub-directory of > site-packages. > > 2. Investigate easydeb

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Paul Moore
On 11/23/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 11:53 AM 11/23/2005 +1100, David Arnold wrote: > >-->"Phillip" == Phillip J Eby <[EMAIL PROTECTED]> writes: > > > > Phillip> This is a major advantage over developers who do not do this, > > Phillip> not only in developer effectivness,

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Phillip J. Eby
At 11:08 AM 11/23/2005 +0100, Martin v. Löwis wrote: As for terminology, you seem to suggest to use "distribution" where Debian uses "package". So "Debian package" would become "Debian distribution". No, I'm fine with "Debian package"; I was using "distribution" in the sense of "distutils dist

Re: [Distutils] .egg in Debian summary?

2005-11-23 Thread Phillip J. Eby
At 12:17 AM 11/23/2005 -0600, Bob Tanner wrote: Bob Tanner wrote: >> I don't think Debian should use the egg structure. It apparently relies >> on building a long sys.path (even though through only a single .pth >> file); > > I'm not sure of how .eggs are implemented, but I'm going to cross-post

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Phillip J. Eby
At 04:53 PM 11/23/2005 +, Paul Moore wrote: Interesting. I would say that *something* in the easy_install/egg/setuptools area feels *exactly* like CPAN to me. Where I would like to use my system's standard packaging solution (I'm on Windows, so I mean the Windows Add/Remove Programs control p

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Matthias Urlichs
Hi, Phillip J. Eby: > I'm thinking that perhaps I should add an option like > '--single-version-externally-managed' to the install command so that you > can indicate that you are installing for the sake of an external package > manager that will manage conflicts and uninstallation needs. This

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Phillip J. Eby
At 08:12 PM 11/23/2005 +0100, Matthias Urlichs wrote: Hi, Phillip J. Eby: > I'm thinking that perhaps I should add an option like > '--single-version-externally-managed' to the install command so that you > can indicate that you are installing for the sake of an external package > manager that w

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Martin v. Löwis
Paul Moore wrote: It's a long time ago, and back prior to PEP 302, but I believe that the original version of the zipimport PEP (PEP 273 by Jim Ahlstrom) included some timings based on the original patch. While this did show slowdowns with compressed zip files, it showed distinct speedups with *u

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Martin v. Löwis
Phillip J. Eby wrote: I was referring to how the distribution is *installed*. You don't use things directly from a deb file, they have to be installed on the system. When you install an egg, you must use one of the three forms, or the system as a whole will not function. That depends on whe

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Martin v. Löwis
Phillip J. Eby wrote: I try to use very long names for options that can have damaging effects if used indiscriminately. A project that's installed the "old-fashioned way" (which is what this does, apart from adding .egg-info) is hard to uninstall and may overwrite other projects' files. So, i

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Phillip J. Eby
At 10:00 PM 11/23/2005 +0100, Martin v. Löwis wrote: Phillip J. Eby wrote: I was referring to how the distribution is *installed*. You don't use things directly from a deb file, they have to be installed on the system. When you install an egg, you must use one of the three forms, or the syst

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Phillip J. Eby
At 10:07 PM 11/23/2005 +0100, Martin v. Löwis wrote: Phillip J. Eby wrote: I try to use very long names for options that can have damaging effects if used indiscriminately. A project that's installed the "old-fashioned way" (which is what this does, apart from adding .egg-info) is hard to uni

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Matthias Urlichs
Hi, Phillip J. Eby: > I'm also debating whether this option should also require the --record > option, since there might otherwise be no way for an external packaging > tool to know which files and directories belong to the installed package. > Sure there is -- you install with --root (in Debia

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Paul Moore
On 11/23/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 04:53 PM 11/23/2005 +, Paul Moore wrote: > >If there was a way of building a Windows installer that installed > >packages in "egg" form, so I didn't have to use setup.py at all when > >installing, just double-click on the installer, th

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread David Arnold
-->"Paul" == Paul Moore <[EMAIL PROTECTED]> writes: >> My point to David was simply that egg packaging in the .egg form is >> more akin to Stow than to CPAN, so most of the flaws of CPAN are >> not applicable to them. Paul> Sorry, I don't know what Stow is, so that doesn't clarify things

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Phillip J. Eby
At 11:17 PM 11/23/2005 +, Paul Moore wrote: OK, I see it now. I need to reread your previous posts about the 3 layouts, as understanding those would probably give me the remaining pieces of the puzzle that I need. To summarize, the layouts are .egg file (1) or directory (2), which both hav

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Phillip J. Eby
At 10:39 AM 11/24/2005 +1100, David Arnold wrote: But I was hoping that I could help clarify the point of view of a Debian user, by pointing out that there's at least some part of the Debian user community that won't like installing .egg applications unless they're sanely converted to .debs Cer

Re: [Distutils] formencode as .egg in Debian ??

2005-11-23 Thread Phillip J. Eby
At 12:25 AM 11/24/2005 +0100, Matthias Urlichs wrote: Phillip J. Eby: > I'm also debating whether this option should also require the --record > option, since there might otherwise be no way for an external packaging > tool to know which files and directories belong to the installed package. > Su