Allow writing cmdclasses in setup.cfg
#43
Labels
builder:setuptools
Integration with setuptools build backend
enhancement
New feature or request therefor
Hi,
I noticed that in order to use the
onbuild
step, I need to explicitly create asetup.py
and invokesetup()
by passing thecmclasses
returned byversioningit.get_cmdclasses()
.Since
setuptools
supports the definition of cmdclasses insetup.cfg
(and potentiallypyproject.toml
, I didn't check, see pypa/setuptools#2570 for reference), would it be possible to expose the needed cmdclasses in thecmdclasses.py
module so that they can be used in this form, avoiding having to create asetup.py
specifically for this use case?Thank you for this tool, it's quite helpful!
The text was updated successfully, but these errors were encountered: