[Distutils] distutils version numbering

Stefan Seefeld seefeld at sympatico.ca
Wed Jan 5 22:24:01 CET 2005

hi there,

I'm writing a custom 'build_scripts' command
that works around a bug in earlier versions
of distutils, i.e. it makes scripts executable
on posix platforms after they got copied to
the build_dir.

I'm looking for a discriminator that allows
me to decide whether or not to run the code,
depending on whether the distutils version
requires it.

It seems the version coming with python 2.2
requires it, while python 2.3 and up don't.
However, distutils.__version__ for python 2.2
as well as python 2.3 are the same ('1.0.3') !

Am I just looking in the wrong place ?


More information about the Distutils-SIG mailing list