[Distutils] Bug in parsing of .cfg files

M.-A. Lemburg mal@lemburg.com
Wed Sep 20 09:48:02 2000


Rene Liebscher wrote:
> 
> "M.-A. Lemburg" wrote:
> >
> > Rene Liebscher wrote:
> > >
> > > "M.-A. Lemburg" wrote:
> > > >
> > > > The following .cfg file produces an error:
> > > >
> > > > [sdist]
> > > > manifest = MANIFEST
> > > > no-defaults = 1
> > > > keep-tree = 1
> > > > formats=bztar,gztar,tar,zip,ztar
> > > >
> > > > ...
> ...
> >
> > Ah ok. Thanks... after having made the change I now get:
> >
> > error: error in setup.cfg: command 'sdist' has no such option 'no_defaults'
> >
> There are two options 'use_defaults' and 'no_defaults'.
> 'use_defaults' is normally 1 and will be set to 0
> if you give the 'no-defaults' option.
> 
> 'use_defaults = 0' instead 'no_defaults = 1' should work.

Weird, but works ;-)

Thanks,
-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/