[Catalog-sig] Re: PEP 314: Updating the package metadata format

Thomas Heller theller@python.net
23 Apr 2003 20:25:09 +0200

Andrew Kuchling <akuchlin@mems-exchange.org> writes:

> On Wed, Apr 23, 2003 at 07:57:39PM +0200, Thomas Heller wrote:
> >I have a use case for Conflicts with version numbers.
> >ctypes was a couple of modules up to version 0.4.x, and is a package
> >starting with 0.6.x.
> >
> >If you have both versions installed, you end up with 'ctypes.py' and
> >'ctypes\__init__.py' in lib/site-packages. If you 'import ctypes', I'm
> >not sure if you get the package or the module (there are probably rules
> >in Python to resolve this, but it may be wrong anyway).
> I don't think you'll be able to have two versions of the same package
> installed, so this shouldn't come up.  

Maybe it's a bug in bdist_wininst, but you can first install
ctypes-0.4.0.exe, than ctypes-0.6.0.exe (for example), and it doesn't
complain, nor does the latter remove the files from the former.