Re: [Distutils] Clearing WorkingSet in pkg_resources. . . ?

2009-05-16 Thread David Lyon
On Sun, 17 May 2009 00:43:20 -0400, "P.J. Eby" wrote: >>So after I deinstall, the package is still shown, even though it's >>no longer in the system. It's still in the interpretors memory. > > Do you mean on sys.path? If it's an .egg file or directory on > sys.path it will probably still be li

Re: [Distutils] Clearing WorkingSet in pkg_resources. . . ?

2009-05-16 Thread P.J. Eby
At 10:45 PM 5/16/2009 -0400, David Lyon wrote: On Sat, 16 May 2009 22:36:13 -0400, "P.J. Eby" wrote: > Just create a fresh WorkingSet object, and use that one. You > probably want to be using explicitly-created WorkingSet instances for > this anyway. (easy_install certainly does.) I am creati

Re: [Distutils] Clearing WorkingSet in pkg_resources. .. ?

2009-05-16 Thread David Lyon
On Sat, 16 May 2009 22:36:13 -0400, "P.J. Eby" wrote: > Just create a fresh WorkingSet object, and use that one. You > probably want to be using explicitly-created WorkingSet instances for > this anyway. (easy_install certainly does.) I am creating a fresh one every time... So after I deinst

Re: [Distutils] Clearing WorkingSet in pkg_resources. .. ?

2009-05-16 Thread P.J. Eby
At 10:24 PM 5/16/2009 -0400, David Lyon wrote: Hi, I'm using working set and I have come into an issue. In my package manager I can now install packages and deinstall fine. The problem that I now face is want to refresh WorkingSet after a package has been deinstalled. Or, I need to do the re

[Distutils] Clearing WorkingSet in pkg_resources. .. ?

2009-05-16 Thread David Lyon
Hi, I'm using working set and I have come into an issue. In my package manager I can now install packages and deinstall fine. The problem that I now face is want to refresh WorkingSet after a package has been deinstalled. Or, I need to do the refresh when swapping to a different version of pyt

Re: [Distutils] Utility to mirror an egg index from a Debian distribution

2009-05-16 Thread David Lyon
Hi Brian, It sounds interesting. I might be interested in helping. What I would like to do is make a test script to download all the packages off pypi and build them under multiple platforms. Basically, I want to make some tests that will try to install "everything" and then deinstall "everyth

Re: [Distutils] Strict/Loose Version and toolchains checks

2009-05-16 Thread David Cournapeau
Tarek Ziadé wrote: > Hi David, > > can you fill an issue about that ? > > Done, that's 6039 and 6040 on the bug tracker, David ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig

Re: [Distutils] Adding entry points into Distutils ?

2009-05-16 Thread Chris Withers
Paul Moore wrote: 2009/5/9 Chris Withers : +1. Anyone who's arguing against this is either not deploying stuff in a repeatable fashion, and so isn't serious in my books, or is so serious that they're cutting vm images to roll out and so dump everything for the app in site packages Hmm. I'll a

Re: [Distutils] Strict/Loose Version and toolchains checks

2009-05-16 Thread Tarek Ziadé
Hi David, can you fill an issue about that ? Thanks On Sat, May 16, 2009 at 5:44 AM, David Cournapeau wrote: > Hi, > >    Since we are talking about versioning, here is one more complaint > which may fall into the bugreport category or not, I am not sure. There > are some version checks in some