Fix outdated use of METADATA name (noted by Sean R.)
Expand list of licensing terms using CTAN's list, and explain how to derive the 'freely redistributable' status from them (Carey Evans)
This commit is contained in:
parent
33ef1641fc
commit
efd42b4999
32
pep-0241.txt
32
pep-0241.txt
|
@ -22,10 +22,10 @@ Including Metadata in Packages
|
|||
distribution (where the README, INSTALL, and other files usually
|
||||
go).
|
||||
|
||||
Developers may not provide their own "METADATA" file. The "sdist"
|
||||
command will, if it detects an existing "METADATA" file, terminate
|
||||
Developers may not provide their own "PKG-INFO" file. The "sdist"
|
||||
command will, if it detects an existing "PKG-INFO" file, terminate
|
||||
with an appropriate error message. This should prevent confusion
|
||||
caused by the "METADATA" and "setup.py" files being out of sync.
|
||||
caused by the "PKG-INFO" and "setup.py" files being out of sync.
|
||||
|
||||
The PKG-INFO file format is a single set of RFC-822 headers
|
||||
parseable by the rfc822.py module. The field names listed in the
|
||||
|
@ -137,9 +137,31 @@ Fields
|
|||
|
||||
The choices are:
|
||||
|
||||
Artistic, BSD, GPL, LGPL, "MIT/X11", MPL, "public domain",
|
||||
Python, QPL, ZPL, other
|
||||
Artistic, BSD, DFSG, GNU PL, Lesser GNU PL, "MIT/X11",
|
||||
Mozilla PL, "public domain", Python, Qt PL, Zope PL, unknown,
|
||||
nocommercial, nosell, nosource, shareware, other
|
||||
|
||||
The definitions are:
|
||||
public domain Software is public domain, not copyrighted.
|
||||
unknown Status is not known
|
||||
nocommercial Free private use but commercial use not permitted
|
||||
nosell Free use but distribution for profit by arrangement
|
||||
nosource Freely distributable but no source code
|
||||
shareware Payment is requested if software is used
|
||||
other General category for other non-DFSG licenses
|
||||
|
||||
Some of these licenses can be interpreted to mean the software is
|
||||
freely redistributable. The list of redistributable licenses is:
|
||||
|
||||
Artistic, BSD, DFSG, GNU PL, Lesser GNU PL, "MIT/X11",
|
||||
Mozilla PL, "public domain", Python, Qt PL, Zope PL,
|
||||
nosource, shareware
|
||||
|
||||
|
||||
Note that being redistributable does not mean a package
|
||||
qualifies as free software, 'nosource' and 'shareware' being
|
||||
examples.
|
||||
|
||||
|
||||
Copyright
|
||||
|
||||
|
|
Loading…
Reference in New Issue