Skip to content

Make more use of setup.cfg #394

Closed
Closed
@ghost

Description

Originally reported by: Anonymous


Right now setuptools uses setup.cfg only for configuration options of commands, e.g.

#!python

python setup.py build_ext --inplace 

is equal to

#!python

[build_ext]
inplace=1

in setup.cfg. Why not allow users to define most of the configuration options to the setup command inside setup.cfg? It seems there was some effort done in disutils2 to allow that. As the maintainer of PyScaffold, I implemented my own logic but have a strong feeling that setuptools should directly implement this. Having a purely declarative way of defining the settings for 95% of all use cases would help beginners and intermediate Python developers a lot.


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions