cookiecutter-flask-restful
cookiecutter-flask-restful copied to clipboard
Use a declarative config?
Situation
The generated project contains a setup.py
. Although this file is small and doesn't have much in it, it doesn't follow a more declarative way.
Suggestion
Although it's not mandatory of course, we should follow a more declarative approach. For example, we could add all the meta data into setup.cfg
and have a very minimal setup.py
. See the link below for a more exhaustive description.
I think there are some benefits for this approach. We encourage developers to add meta data into setup.cfg
, keeping setup.py
small. It's probably a bit easier to move to pyproject.toml
if someone wants to go that way. It's also more in sync with the modern way to package Python project.
References
https://setuptools.rtfd.io/en/latest/userguide/declarative_config.html