diff options
| -rw-r--r-- | changelog.d/1776.doc.rst | 1 | ||||
| -rw-r--r-- | docs/setuptools.txt | 9 |
2 files changed, 7 insertions, 3 deletions
diff --git a/changelog.d/1776.doc.rst b/changelog.d/1776.doc.rst new file mode 100644 index 00000000..d4f1dbca --- /dev/null +++ b/changelog.d/1776.doc.rst @@ -0,0 +1 @@ +Use license classifiers rather than the license field. 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 |
