[Distutils] PEP 345 update + RFC on "Requires-External" and "Requires-Python"

M.-A. Lemburg mal at egenix.com
Tue Nov 17 14:04:40 CET 2009

Floris Bruynooghe wrote:
> On Mon, Nov 16, 2009 at 11:55:44AM +0100, M.-A. Lemburg wrote:
>> Tarek Ziadé wrote:
>> One detail to add:
>> python_full_version = sys.version.split()[0]
>> This is important, since a package may well only support Python
>> 2.5 starting with patch level release 2.5.2 and python_version
>> only includes the major.minor version information.
> I still like hex(sys.hexversion) for this.  IIRC this is what the docs
> recommend to use inside python code too for checking versions.

Fine with me, but that format doesn't work too well with the
(new) standard for distutils version numbers which is supposed
to be used for these version comparisons.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Nov 17 2009)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the Distutils-SIG mailing list