aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2019-06-01 20:33:32 +0200
committerCyril Roelandt <tipecaml@gmail.com>2019-06-01 20:38:04 +0200
commit59dd72d9df7a88d692637a8c488aa884c182e557 (patch)
treec75cd9e8ccfb00be4fe88ba08d8387eb66163d43 /docs
parentd36295aae2d6d2238546309a0dc4043f6e27e78a (diff)
downloadexternal_python_setuptools-59dd72d9df7a88d692637a8c488aa884c182e557.tar.gz
external_python_setuptools-59dd72d9df7a88d692637a8c488aa884c182e557.tar.bz2
external_python_setuptools-59dd72d9df7a88d692637a8c488aa884c182e557.zip
Use license classifiers rather than the license field.
The license field has a 'free' format, while the classifiers are unique identifiers, similar to SPDX identifiers. In the documentation, we should therefore showcase the use of classifiers.
Diffstat (limited to 'docs')
-rw-r--r--docs/setuptools.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/setuptools.txt b/docs/setuptools.txt
index 64b385cb..2e7fe3bd 100644
--- a/docs/setuptools.txt
+++ b/docs/setuptools.txt
@@ -136,16 +136,18 @@ dependencies, and perhaps some data files and scripts::
author="Me",
author_email="me@example.com",
description="This is an Example Package",
- license="PSF",
keywords="hello world example examples",
url="http://example.com/HelloWorld/", # project home page, if any
project_urls={
"Bug Tracker": "https://bugs.example.com/HelloWorld/",
"Documentation": "https://docs.example.com/HelloWorld/",
"Source Code": "https://code.example.com/HelloWorld/",
- }
+ },
+ classifiers=[
+ 'License :: OSI Approved :: Python Software Foundation License'
+ ]
- # could also include long_description, download_url, classifiers, etc.
+ # could also include long_description, download_url, etc.
)
In the sections that follow, we'll explain what most of these ``setup()``
@@ -2234,6 +2236,7 @@ boilerplate code in some cases.
license = BSD 3-Clause License
classifiers =
Framework :: Django
+ License :: OSI Approved :: BSD License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5