Python 2.4, distutils, and pure python packages

Fuzzyman fuzzyman at gmail.com
Fri Mar 11 03:33:57 EST 2005


Thomas Heller wrote:
> [CC to python-dev]
> "Fuzzyman" <fuzzyman at gmail.com> writes:
>
> > Python 2.4 is built with Microsoft Visiual C++ 7. This means that
it
> > uses msvcr7.dll, which *isn't* a standard part of the windows
operating
> > system.
>
> Nitpicking - it's MSVC 7.1, aka MS Visual Studio .NET 2003, and it's
> msvcr71.dll.
>

Sorry - my mistake !

> > This means that if you build a windows installer using
> > distutils - it *requires* msvcr7.dll in order to run. This is true
even
> > if your package is a pure python package. This means that when
someone
> > tries to use a windows installer created with Python 2.4, on a
machine
> > with only python 2.3 - it will fail.
>
> Bummer.
>
> > It's likely that nothing can be done about this (although for a
pure
> > python package there's no reason not to use the 'source
distribution'
> > and the setup.py). It does mean that I have to build my windows
> > installer on a machine with python 2.3.
>
> There's a workaround, although ugly.
>

[snip..] Yuck ! Distributing different versions of a pure python
package :-) As I maintain a 2.3 machine as well, it's not too bad for
me. I posted this mainly for the reference of others.

Thanks for your reply Thomas.

Regards,

Fuzzyman
http://www.voidspace.org.uk/python/index.shtml




More information about the Python-list mailing list