You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 minimalsetup.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
, keepingsetup.py
small. It's probably a bit easier to move topyproject.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
The text was updated successfully, but these errors were encountered: