summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-06-16 07:29:52 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-06-16 07:29:52 (GMT)
commitfdefc0a5a1b116fdcb34d372fa7f23992f3bdfeb (patch)
tree46eb8e83f3dbd1dbaa73e97790f1929b44df4dec
parent08a0bbc8461399ff7dac477c68fc6fc16156ee76 (diff)
downloadcpython-fdefc0a5a1b116fdcb34d372fa7f23992f3bdfeb.zip
cpython-fdefc0a5a1b116fdcb34d372fa7f23992f3bdfeb.tar.gz
cpython-fdefc0a5a1b116fdcb34d372fa7f23992f3bdfeb.tar.bz2
Fixed #6287: documentation for the license field in distutils
-rw-r--r--Doc/distutils/setupscript.rst9
-rw-r--r--Misc/NEWS2
2 files changed, 11 insertions, 0 deletions
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
index 851c904..bf4eeeb 100644
--- a/Doc/distutils/setupscript.rst
+++ b/Doc/distutils/setupscript.rst
@@ -590,6 +590,8 @@ This information includes:
+----------------------+---------------------------+-----------------+--------+
| ``platforms`` | a list of platforms | list of strings | |
+----------------------+---------------------------+-----------------+--------+
+| ``license`` | license for the package | short string | \(6) |
++----------------------+---------------------------+-----------------+--------+
Notes:
@@ -611,6 +613,13 @@ Notes:
The ``long_description`` field is used by PyPI when you are registering a
package, to build its home page.
+(6)
+ The ``license`` field is a text indicating the license covering the
+ package where the license is not a selection from the "License" Trove
+ classifiers. See the ``Classifier`` field. Notice that
+ there's a ``licence`` distribution option which is deprecated but still
+ acts as an alias for ``license``.
+
'short string'
A single line of text, not more than 200 characters.
diff --git a/Misc/NEWS b/Misc/NEWS
index 44f30e0..ab00d38 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -327,6 +327,8 @@ Core and Builtins
Library
-------
+- Issue #6287: Added the license field in Distutils documentation.
+
- Issue #6286: Now Distutils upload command is based on urllib2 instead of
httplib, allowing the usage of http_proxy.