[Distutils] --build-base and install

Thomas Heller theller at python.net
Thu Jun 30 16:39:11 CEST 2005

Barry Warsaw <barry at python.org> writes:

> On Thu, 2005-06-30 at 10:01, Paul Moore wrote:
>> Have you tried
>>     python setup.py build --build-base=whatever install
>> ?
>> I chain the commands like this to switch compilers on Windows (build
>> --compiler=mingw32 bdist_wininst) and it works fine for that.
> Thanks Paul, that does work perfectly.  I didn't realize you could chain
> commands like that!

Another way is to write a setup.cfg file - that way you could not forget
to specify the flags all the time.


More information about the Distutils-SIG mailing list