Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a declarative config? #59

Open
tomschr opened this issue Feb 14, 2023 · 0 comments
Open

Use a declarative config? #59

tomschr opened this issue Feb 14, 2023 · 0 comments

Comments

@tomschr
Copy link

tomschr commented Feb 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant