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

Migrate deps to setup.cfg #247

Closed
wants to merge 1 commit into from
Closed

Conversation

jeffwidman
Copy link
Member

Modern python packaging uses setup.cfg. Historically we had our deps in setup.py due to GitHub's dependency graph, but they've since added support for parsing deps out of setup.cfg.

Also, this allows us to start specifying the Sphinx theme as a docs extra... this is much more idiomatic than bundling it as a git submodule. And will later make it much simpler for RTD etc to pull in the custom theme.

Modern python packaging uses `setup.cfg`. Historically we had our deps
in `setup.py` due to GitHub's dependency graph, but they've since added
support for parsing deps out of `setup.cfg`.

Also, this allows us to start specifying the Sphinx theme as a `docs`
extra... this is much more idiomatic than bundling it as a git
submodule.
@jeffwidman
Copy link
Member Author

Oof, I'm behind the times... apparently setup.cfg is deprecated in favor of solely using pyproject.toml:

@jeffwidman jeffwidman closed this Apr 24, 2024
@jeffwidman jeffwidman deleted the migrate-deps-to-setup.cfg branch April 24, 2024 02:53
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant