Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-10-16 05:40:10 +0300
committerJon Dufresne <jon.dufresne@gmail.com>2017-10-16 05:40:10 +0300
commitc53dc54a305c7aa06e783a352ebf520b6d649c80 (patch)
tree5d29089cd59c9959819ccc5f0c4a5aa495a7f138 /setup.cfg
parentf783eb1ffaafbde8ae30304d3521b5df4475869f (diff)
Include license file in the generated wheel package
The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 48045a292..4d42ee5c1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -23,6 +23,9 @@ directory = sphinx/locale/
[wheel]
universal = 1
+[metadata]
+license_file = LICENSE
+
[flake8]
max-line-length = 95
ignore = E116,E241,E251