[ python-Bugs-985478 ] bdist_rpm license documented, but not accepted as valid

SourceForge.net noreply at sourceforge.net
Mon Jul 5 12:14:57 EDT 2004


Bugs item #985478, was opened at 2004-07-05 10:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=985478&group_id=5470

Category: Distutils
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Charles (melicertes)
Assigned to: Nobody/Anonymous (nobody)
Summary: bdist_rpm license documented, but not accepted as valid

Initial Comment:
The distutils documentation at
http://docs.python.org/dist/postinstallation-script.html#SECTION000620000000000000000
states that the RPM copyright field can be set using
the distutils setup script option "licence", but it is
refused as invalid by distutils:

$ /usr/bin/python2.3 setup.py bdist_rpm --licence="GNU
GPL v.2"
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2
[cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --licence not recognized


It's also refused (same error message output, except
for spelling) with the spelling "license".  Both
spellings are also 
rejected as errors if placed in setup.cfg's [bdist_rpm]
section:

$ /usr/bin/python2.3 setup.py bdist_rpm
running bdist_rpm
error: error in setup.cfg: command 'bdist_rpm' has no
such option 'license'







----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=985478&group_id=5470



More information about the Python-bugs-list mailing list