[Distutils] Another requested feature (with patch)

Rene Liebscher R.Liebscher@gmx.de
Mon Apr 9 09:39:01 2001


Robert Kern wrote:
> 
> On Mon, Apr 09, 2001 at 10:11:00AM +0200, Rene Liebscher wrote:
> > "John J. Lee" wrote:
> > >
> > > On Fri, 6 Apr 2001, Robert Kern wrote:
> > >
> > > > * add a --skip-build option to the bdist, bdist_dumb, and bdist_wininst
> > > >   commands. This is necessary when trying to build on Windows with mingw32
> > > >   since the plain bdist_* commands will try to rebuild with MSVCCompiler.
> > Anyone checked this? It should be solved since May 2000, see also
> >  http://mail.python.org/pipermail/distutils-sig/2000-May/001052.html
> >  http://mail.python.org/pipermail/distutils-sig/2000-May/001081.html
> 
> I used a Distutils with that patch. "python setup.py bdist --format=zip" did
> not work.
> 
I works if you do a build, install or bdist without to change the source
files.
If you change the source files then you you have to specify the
compiler.

If mingw32 is your prefered compiler you could add these lines to your
personal distutils configuration file
( http://python.sourceforge.net/devel-docs/inst/config-syntax.html )

------------------------
[build_ext]
compiler=mingw32
------------------------


Kind regards
Rene