Kaydet (Commit) fdefc0a5 authored tarafından Tarek Ziadé's avatar Tarek Ziadé

Fixed #6287: documentation for the license field in distutils

üst 08a0bbc8
...@@ -590,6 +590,8 @@ This information includes: ...@@ -590,6 +590,8 @@ This information includes:
+----------------------+---------------------------+-----------------+--------+ +----------------------+---------------------------+-----------------+--------+
| ``platforms`` | a list of platforms | list of strings | | | ``platforms`` | a list of platforms | list of strings | |
+----------------------+---------------------------+-----------------+--------+ +----------------------+---------------------------+-----------------+--------+
| ``license`` | license for the package | short string | \(6) |
+----------------------+---------------------------+-----------------+--------+
Notes: Notes:
...@@ -611,6 +613,13 @@ Notes: ...@@ -611,6 +613,13 @@ Notes:
The ``long_description`` field is used by PyPI when you are registering a The ``long_description`` field is used by PyPI when you are registering a
package, to build its home page. 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' 'short string'
A single line of text, not more than 200 characters. A single line of text, not more than 200 characters.
......
...@@ -327,6 +327,8 @@ Core and Builtins ...@@ -327,6 +327,8 @@ Core and Builtins
Library Library
------- -------
- Issue #6287: Added the license field in Distutils documentation.
- Issue #6286: Now Distutils upload command is based on urllib2 instead of - Issue #6286: Now Distutils upload command is based on urllib2 instead of
httplib, allowing the usage of http_proxy. httplib, allowing the usage of http_proxy.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment