-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Use setuptools setup.cfg declarative configuration #1316
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For details on this feature, see: https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files Setuptools allows using setup.cfg as a configuration file to define the package metadata and options. This approach reduces boilerplate code in favor of a declarative configuration. Down the road, this approach also allows for automation through scripts and tools.
Looks good, thanks! |
4 tasks
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 19, 2022
6 tasks
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 19, 2022
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 19, 2022
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 19, 2022
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 21, 2022
Refs redis#1316 Refs redis#1649 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 21, 2022
Refs redis#1316 Refs redis#1649 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 21, 2022
Refs redis#1316 Refs redis#1649 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 4, 2023
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]> x
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 4, 2023
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 4, 2023
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
6 tasks
akx
added a commit
to akx/redis-py
that referenced
this pull request
Sep 5, 2023
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Feb 15, 2024
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Jun 12, 2024
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Aug 27, 2024
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Aug 27, 2024
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Oct 16, 2024
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Oct 16, 2024
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Oct 16, 2024
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Oct 16, 2024
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Feb 20, 2025
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Feb 20, 2025
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
akx
added a commit
to akx/redis-py
that referenced
this pull request
Feb 25, 2025
Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]>
petyaslavova
pushed a commit
that referenced
this pull request
Feb 25, 2025
* Switch to PEP 517 packaging using hatchling Refs #1316 Refs #1649 Remake of #2388 Co-authored-by: Ofek Lev <[email protected]> * Use a single source of truth for version info * Uninstall redis wheel installed as redis-entraid dep * Add build as dev_requirement * Get rid of requirements.txt * Get rid of setuptools and wheel deps * Move pytest configuration to pyproject.toml * Retain tests and dev_requirements.txt in sdist --------- Co-authored-by: Ofek Lev <[email protected]>
petyaslavova
pushed a commit
to Kakadus/redis-py
that referenced
this pull request
May 13, 2025
* Switch to PEP 517 packaging using hatchling Refs redis#1316 Refs redis#1649 Remake of redis#2388 Co-authored-by: Ofek Lev <[email protected]> * Use a single source of truth for version info * Uninstall redis wheel installed as redis-entraid dep * Add build as dev_requirement * Get rid of requirements.txt * Get rid of setuptools and wheel deps * Move pytest configuration to pyproject.toml * Retain tests and dev_requirements.txt in sdist --------- Co-authored-by: Ofek Lev <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For details on this feature, see:
https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
Setuptools allows using setup.cfg as a configuration file to define the
package metadata and options. This approach reduces boilerplate code in
favor of a declarative configuration. Down the road, this approach also
allows for automation through scripts and tools.
Pull Request check-list
Please make sure to review and check all of these items:
$ tox
pass with this change (including linting)?NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.