[Image-SIG] Re: setup.py incompleat support of distutils

Fredrik Lundh fredrik at pythonware.com
Tue Apr 20 13:28:00 EDT 2004


J C Lawrence wrote:

> The Python-pil 1.1.4 installer does not compleatly support distutils.
> Specifically (in my case) it wouldn't accept a `--prefix=/foo" command
> line argument to control the installation location.  Adding:
>
>   import distutils
>
> to setup.py fixed this.

hmm.  that sure sounds like a bug in distutils (or in the documentation; all
examples use "from distutils.core import ..." which is exactly how it's done
in PIL's setup file).

anyway, I'll look into it.

thanks /F






More information about the Image-SIG mailing list