[Distutils] Another requested feature (with patch)
Mon Apr 9 05:40:02 2001
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
I used a Distutils with that patch. "python setup.py bdist --format=zip" did
> > > I have a patch that seems to work with the dumb formats and Windows
> > > installer. I didn't quite grok the bdist_rpm code, so I don't quite
> > > know how to work it in there.
> > >
> > > The patch is attached. I can put it on the Sourceforge Patch Manager
> > > if someone likes.
> > Shouldn't there instead be a -c (--compiler) option to build and install?
> > This makes sense, and is neater. I think this was discussed here before
> > at some point, but I don't remember if anything was decided.
> You can always add options for commands which are to be run by the
> command you
> want to execute.
> python setup.py install build --compiler=mingw32
> (install runs an internal build)
> python setup.py bdist ... build --compiler=mingw32
> (bdist does an install which does a build)
Ooh! Neat! I'm sure this is documented somewhere, but we might as well put
it on the request list to make that particular use of multiple commands
Therefore, my patch could be replaced by
python setup.py bdist ... install --skip-build
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter