[Python-Dev] Distutils thoughts

Paul Moore p.f.moore at gmail.com
Fri Apr 21 12:54:37 CEST 2006


On 4/21/06, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> While we're on the subject of distutils revision, here
> are a few things I've encountered about distutils which
> seem less than desirable.
>
> * There doesn't seem to be a way of supplying options
>    on the command line for anything except the top-level
>    command. Sometimes, e.g. I want to do an "install" but
>    override some options for the "build_ext" that gets
>    invoked by the install. But distutils won't let me,
>    because those options are not recognised by the
>    "install" command itself.

I do things like

    python setup.py build --compiler=mingw32 bdist_wininst

which seem to work for me. Is that any help?

Paul.


More information about the Python-Dev mailing list