[Distutils] Bug in parsing of .cfg files
Rene Liebscher
R.Liebscher@gmx.de
Wed Sep 20 09:28:01 2000
"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.
kind regards
Rene Liebscher