Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-25 Thread Greg Ewing
ajaksu wrote: > While Linux and OS X both view Python as essentially a first-class > development platform-i.e., as something that shrink-wrap applications > can be built on-Windows does not. Even on MacOSX and Linux, you can't rely on the system coming with the particular version of Python you wan

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-24 Thread Ned Deily
In article <[EMAIL PROTECTED]>, ajaksu <[EMAIL PROTECTED]> wrote: > [...] While Linux and OS X both view Python as essentially a first-class > development platform-i.e., as something that shrink-wrap applications > can be built on-Windows does not. Instead, it's generally expected > that a Python

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-24 Thread Mark Hammond
> (Note: I'm aware that people believe it to be necessary to munge the > Windows registry when installing Python packages; I just don't agree > with the practice, and don't think we should distort Python's process > to coddle it). Whoever thinks it necessary is misguided. Installing a package d

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-24 Thread ajaksu
On Mar 22, 5:13 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Can you give me a > > pointer to Aza Raskin's keynote? Is it online anywhere? I'd be > > interested in his point of view. > > Unfortunately no. I was looking for it, but couldn't find it. He > mentioned a website with a "call for

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin v. Löwis wrote: >> Oh, and application installation is (should be) completely different. >> On Windows, applications should probably be bundled with their own >> Python interpreter, a la py2exe. On Unix/Linux, I don't know what the >> standard

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin v. Löwis wrote: >>> Sure, but what is precisely the semantics of uninstallation, in >>> terms of changes to the system state? >>> >>> I think any model where uninstallation is merely the removal >>> of files is too limited to be practical. >> Th

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-23 Thread Martin v. Löwis
ajaksu wrote: > On Mar 22, 5:13 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: >> Unfortunately no. I was looking for it, but couldn't find it. He >> mentioned a website with a "call for action", but I couldn't find >> that, either :-( > > As I tried to reply (in a message that is waiting for mo

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-23 Thread Martin v. Löwis
A.M. Kuchling wrote: > On Sat, Mar 22, 2008 at 09:13:24PM +0100, "Martin v. L?wis" wrote: >> Unfortunately no. I was looking for it, but couldn't find it. He >> mentioned a website with a "call for action", but I couldn't find >> that, either :-( > > We're working on the video, but I think it'll b

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-23 Thread ajaksu
On Mar 22, 5:13 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Unfortunately no. I was looking for it, but couldn't find it. He > mentioned a website with a "call for action", but I couldn't find > that, either :-( As I tried to reply (in a message that is waiting for moderation), the site see

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-23 Thread A.M. Kuchling
On Sat, Mar 22, 2008 at 09:13:24PM +0100, "Martin v. L?wis" wrote: > Unfortunately no. I was looking for it, but couldn't find it. He > mentioned a website with a "call for action", but I couldn't find > that, either :-( We're working on the video, but I think it'll be a few weeks before things st

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Martin v. Löwis
>>> Oh, and application installation is (should be) completely different. >> > On Windows, applications should probably be bundled with their own >> > Python interpreter, a la py2exe. On Unix/Linux, I don't know what the >> > standard is, so I'd have to defer to others. >> >> >> This I disagree

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Paul Moore
On 22/03/2008, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Oh, and application installation is (should be) completely different. > > On Windows, applications should probably be bundled with their own > > Python interpreter, a la py2exe. On Unix/Linux, I don't know what the > > standard is,

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Martin v. Löwis
> Oh, and application installation is (should be) completely different. > On Windows, applications should probably be bundled with their own > Python interpreter, a la py2exe. On Unix/Linux, I don't know what the > standard is, so I'd have to defer to others. This I disagree with. I think it's an

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Martin v. Löwis
>> Sure, but what is precisely the semantics of uninstallation, in >> terms of changes to the system state? >> >> I think any model where uninstallation is merely the removal >> of files is too limited to be practical. > > The distutils only support the *addition* of files, so I'm not sure > how

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Martin v. Löwis
> Huh? How's that? Don't forget that I'm on Windows, and on Windows > there is no "system tool" - just bdist_wininst, bdist_msi and > easy_install. The fact that bdist_wininst and bdist_msi link into the > system UI for listing and uninstallation doesn't make packages using > them "system packages"

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Martin v. Löwis
Neal Becker wrote: > Another use case, which I find in my world, is that there are always > packages that interest me (found at pypi), that my vendor hasn't packaged > as rpms yet. > > With finite resources, this will always be true. Why do you need a package database for that? Can't you just run

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Martin v. Löwis
> I more question the permissions and uid/gid stuff; I'm not really > clear on what I'd use that stuff for in easy_install/uninstall/etc. I think this was all captured in amk's statement "RPM-like verification". RPM not only verifies file content, but also whether the permissions are all correct.

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Phillip J. Eby
At 04:29 PM 3/22/2008 +0100, Martin v. Löwis wrote: >>>For those without the read-only flag, the specification should >>>explicitly say what manipulation is allowed. >>Since a distribution isn't really "mutable", I would think that >>uninstallation and reinstallation would be the only manipulation

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Paul Moore
On 22/03/2008, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > This probably needs to be refined a little. Exclusive right is too > strong, and it goes against Paul Moore's desire for using a single > tool. Huh? How's that? Don't forget that I'm on Windows, and on Windows there is no "system tool"

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Phillip J. Eby
At 11:19 AM 3/22/2008 -0400, Phillip J. Eby wrote: >Not exactly. More like, "package management tool X claims exclusive >rights to this package". Python tools would always defer this right >to the system packager, i.e. a system packager is not obliged to >respect a Python tool's claim to a file,

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Martin v. Löwis
>> For those without the read-only flag, the specification should >> explicitly say what manipulation is allowed. > > Since a distribution isn't really "mutable", I would think that > uninstallation and reinstallation would be the only manipulation > available. (As distinct from inspection, ver

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Phillip J. Eby
At 12:33 PM 3/22/2008 +0100, Martin v. Löwis wrote: >>I probably should have brought this up, in fact, I think I >>mentioned it in a previous thread, but I would like to see PEP 262 >>add a way to say "this is a system-installed package, *don't >>touch*". The idea again is not to do the job of

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Paul Moore
On 22/03/2008, Steve Holden <[EMAIL PROTECTED]> wrote: > Well, I've probably been killfiled into non-existence on this list by > now, but it seems to me that we are in danger of answering the wrong > problem yet again. But that's all I have to say on this topic, so you > can all heave a sigh a r

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Martin v. Löwis
> Ok, well, I have a rationale for it: make it possible to get rid of eggs > as a mechanism for supporting easy_install. Many people (yourself > included) have criticized eggs as an installation mechanism, and this is > an alternative that gets rid of .egg files and directories in that case, >

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Steve Holden
M.-A. Lemburg wrote: > On 2008-03-21 22:21, Phillip J. Eby wrote: >> At 08:06 PM 3/21/2008 +0100, M.-A. Lemburg wrote: >>> I guess the only way to support all of these variants is >>> to use a filesystem based approach, e.g. by placing a file >>> with a special extension into some dir on sys.path.

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Neal Becker
Another use case, which I find in my world, is that there are always packages that interest me (found at pypi), that my vendor hasn't packaged as rpms yet. With finite resources, this will always be true. ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-22 Thread Ronald Oussoren
On 22 Mar, 2008, at 2:44, A.M. Kuchling wrote: On Fri, Mar 21, 2008 at 06:41:00PM -0400, Phillip J. Eby wrote: I'm making the assumption that the author(s) of PEP 262 had good reason for including what they did, rather than assuming that we should start the entire process over from scratch. T

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Talin
Phillip J. Eby wrote: > At 11:21 AM 3/21/2008 -0500, [EMAIL PROTECTED] wrote: >> Joachim> I think, the uninstall should _not_ 'rm -rf' but only 'rm' the >> Joachim> files (and 'rmdir' directories, but not recursively) that it >> Joachim> created, and that have not been modified in the m

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Phillip J. Eby
At 09:44 PM 3/21/2008 -0400, A.M. Kuchling wrote: >On Fri, Mar 21, 2008 at 06:41:00PM -0400, Phillip J. Eby wrote: > > I'm making the assumption that the author(s) of PEP 262 had good > > reason for including what they did, rather than assuming that we > > should start the entire process over from

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Phillip J. Eby
At 02:31 AM 3/22/2008 +0100, Martin v. Löwis wrote: >>I'm making the assumption that the author(s) of PEP 262 had good >>reason for including what they did, rather than assuming that we >>should start the entire process over from scratch. > >The objections to the PEP remain the same as they were

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread A.M. Kuchling
On Fri, Mar 21, 2008 at 06:41:00PM -0400, Phillip J. Eby wrote: > I'm making the assumption that the author(s) of PEP 262 had good > reason for including what they did, rather than assuming that we > should start the entire process over from scratch. The goal *was* originally to provide for RPM-

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Martin v. Löwis
> I'm making the assumption that the author(s) of PEP 262 had good > reason for including what they did, rather than assuming that we > should start the entire process over from scratch. The objections to the PEP remain the same as they were then, though: In the requirements, it says "we need",

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Phillip J. Eby
At 11:13 PM 3/21/2008 +0100, M.-A. Lemburg wrote: >On 2008-03-21 22:21, Phillip J. Eby wrote: > > At 08:06 PM 3/21/2008 +0100, M.-A. Lemburg wrote: > >> I guess the only way to support all of these variants is > >> to use a filesystem based approach, e.g. by placing a file > >> with a special exten

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread M.-A. Lemburg
On 2008-03-21 22:21, Phillip J. Eby wrote: > At 08:06 PM 3/21/2008 +0100, M.-A. Lemburg wrote: >> I guess the only way to support all of these variants is >> to use a filesystem based approach, e.g. by placing a file >> with a special extension into some dir on sys.path. >> The "database" logic cou

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Phillip J. Eby
At 05:59 PM 3/21/2008 +0100, Christian Heimes wrote: >Phillip J. Eby schrieb: > > Questions, comments... volunteers? :) > >I've yet to read the monster package utils thread so I can't comment on >it. However I like to draw some attention to my PEP 370 >http://python.org/dev/peps/pep-0370/. It's

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Phillip J. Eby
At 08:06 PM 3/21/2008 +0100, M.-A. Lemburg wrote: >I guess the only way to support all of these variants is >to use a filesystem based approach, e.g. by placing a file >with a special extension into some dir on sys.path. >The "database" logic could then scan sys.path for these >files, read the data

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Paul Moore
On 21/03/2008, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > Questions, comments... volunteers? :) Sounds good. I won't volunteer as I have neither time nor expertise to contribute much. But I'd like to see this happen, as it sounds like it would address all my issues with setuptools (and just

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Martin Aspeli
Phillip J. Eby wrote: > Questions, comments... volunteers? :) This makes a lot of sense. I don't really have anything to add in terms of implementation, but I wonder if we can learn something from how apt or rpms or ports work, and how other programming languages (Ruby gems?) solve this. I

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread M.-A. Lemburg
On 2008-03-21 14:47, Phillip J. Eby wrote: > So, to accomplish this, we (for some value of "we") need to: > > 1. Hash out consensus around what changes or enhancements are needed > to PEP 262, to resolve the previously-listed open issues, those that > have come up since (namespace packages, depe

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Phillip J. Eby
At 11:21 AM 3/21/2008 -0500, [EMAIL PROTECTED] wrote: > Joachim> I think, the uninstall should _not_ 'rm -rf' but only 'rm' the > Joachim> files (and 'rmdir' directories, but not recursively) that it > Joachim> created, and that have not been modified in the meantime (after > Joachi

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Stephen J. Turnbull
[EMAIL PROTECTED] writes: > > Joachim> I think, the uninstall should _not_ 'rm -rf' but only 'rm' the > Joachim> files (and 'rmdir' directories, but not recursively) that it > Joachim> created, and that have not been modified in the meantime (after > Joachim> the installation)

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Christian Heimes
Phillip J. Eby schrieb: > Questions, comments... volunteers? :) I've yet to read the monster package utils thread so I can't comment on it. However I like to draw some attention to my PEP 370 http://python.org/dev/peps/pep-0370/. It's about a site packages directory in the users home directory.

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread skip
Joachim> I think, the uninstall should _not_ 'rm -rf' but only 'rm' the Joachim> files (and 'rmdir' directories, but not recursively) that it Joachim> created, and that have not been modified in the meantime (after Joachim> the installation). That's not sufficient. Suppose file

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Tarek Ziadé
On Fri, Mar 21, 2008 at 2:47 PM, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > Second, there were no uninstall tools for it, so I'd have had to > write one myself. (Zed's "easy_f'ing_uninstall" to the contrary, it > ain't easy, and I have an aversion to deleting stuff on people's > systems without

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-21 Thread Joachim König
Phillip J. Eby wrote: > Second, there were no uninstall tools for it, so I'd have had to > write one myself. (Zed's "easy_f'ing_uninstall" to the contrary, it > ain't easy, and I have an aversion to deleting stuff on people's > systems without knowing what will break. There's a big difference