-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Deprecate tools.setuptools.license-files #4837
Deprecate tools.setuptools.license-files #4837
Conversation
6dee35f
to
ab277d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much @cdce8p!
docs/userguide/pyproject_config.rst
Outdated
@@ -99,7 +99,7 @@ Key Value Type (TOML) Notes | |||
See :doc:`/userguide/datafiles`. | |||
``exclude-package-data`` table/inline-table Empty by default. See :doc:`/userguide/datafiles`. | |||
------------------------- --------------------------- ------------------------- | |||
``license-files`` array of glob patterns **Provisional** - likely to change with :pep:`639` | |||
``license-files`` array of glob patterns **Deprecated** - use ``project.license-files`` instead. See :doc:`PyPUG:guides/writing-pyproject-toml/#license-files` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I notice that sphinx is issuing the following warning:
/home/runner/work/setuptools/setuptools/docs/userguide/pyproject_config.rst:103: WARNING: unknown document: 'PyPUG:guides/writing-pyproject-toml/#license-files' [ref.doc]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems the anchor link doesn't exist. Opened pypa/packaging.python.org#1816 upstream and used the generic link here so it doesn't block the PR.
Deprecate
tools.setuptools.license-files
in favor ofproject.license-files
.Ref #4829
/CC @abravalheri