Use setup.cfg
to define most package metadata
#537
Merged
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.
Before submitting your pull-request, make sure the following is done.
master
so that it can be merged easily.Update changelogs/next.md with your change (include reference to the issue & this PR).Not applicableMake sure all of the significant new logic is covered by tests.Not applicableLearn more about contributing
Define package metadata and requirements in
setup.cfg
, with regards to setuptools documentation, allowing to have declarative configuration which should be easier to maintain.Tested in mkniewallner#5, with the source published here.
Taking the occasion to add
python_requires
andproject_urls
to the metadata, in order to have link to issues, source code, changelog and documentation directly from PyPI.tests_require
is removed because it's been deprecated in favor ofextras_require
(pypa/setuptools#1684)Note that dependabot will continue to work as expected, as support for
setup.cfg
has been added a few months ago.