
"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
... error: error in setup.cfg: command 'sdist' has no such option 'keep-tree'
Looks as if the config file parser doesn't like options with embedded hyphens (or maybe it's just me not knowing how to pass the options ?).
You have to call it keep_tree. It is documented in "Distributing Python Modules" "4. Writing the Setup Configuration File". ( Note that an option spelled --foo-bar on the command-line is spelled foo_bar in configuration files. ) May be distutils should accept both, foo-bar and foo_bar. It is not to hard to change it, lets see what is Gregs opinion. kind regards Rene Liebscher