On Fri, Jul 03, 2009 at 02:20:51PM +0200, Tarek Ziadé wrote: > > back to that discussion, after re-reading all the threads I have a proposal : > > 1- let's add as we said "install_requires" in PEP 345 and describe in > it that people can define requirements, > but without giving them rules for the version schemes. > > We will just write in that PEP that it's up to the *dependency > manager* (pip, setuptools, zc.buildout, etc) > to provide a cmp() for the version. > > The only rule will be that each dependency is described like this : > > dist_name [<|>|==|!=|>=|<=] version > > where version is free and dist_name in [a-zA-Z0-9]
But does this not mean that you can end up with different results then intended? E.g. the developer uses pip but the user installs with easy_install and because version comparison is not standardised the user could end up with a version not intended by the developer. Or did I miss an essential part of the discussion? It was my impression that one, or even a few, incarnations of the verlib.py where pretty close to something that most people could live with. Regards Floris -- Debian GNU/Linux -- The Power of Freedom www.debian.org | www.gnu.org | www.kernel.org _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
