[Distutils] Passing build_ext arguments to easy_install?
Phillip J. Eby
pje at telecommunity.com
Tue Aug 8 17:58:19 CEST 2006
At 10:43 AM 8/8/2006 -0400, Jim Fulton wrote:
>One hack I can think of is to use --editible and --build-directory to
>download the package, write a setup.cfg into the resulting directory
>and then run easy_install on the result. I would hope though that
>there is a better way. :)
Not at the moment, no. However, you could subclass easy_install and
override the 'run_setup()' method to edit the setup.cfg first. The
setuptools.command.setopt module includes some nice routines for editing
setup.cfg files, so that you won't even overwrite settings you don't care
about.
More information about the Distutils-SIG
mailing list