[ python-Bugs-1471407 ] setup.py --help-commands exception

SourceForge.net noreply at sourceforge.net
Sun Apr 16 21:23:54 CEST 2006


Bugs item #1471407, was opened at 2006-04-16 12:23
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=1471407&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: James William Pye (jwpye)
Assigned to: Nobody/Anonymous (nobody)
Summary: setup.py --help-commands exception

Initial Comment:
>From a recent trunk build(2.5a1) on FreeBSD 6.1:

jwp at lit:/src/org/pgfoundry/python/fe/local %
/usr/dev/bin/python ./setup.py --help-commands
Standard commands:
  build            build everything needed to install
  build_py         "build" pure Python modules (copy to
build directory)
  build_ext        build C/C++ extensions (compile/link
to build directory)
  build_clib       build C/C++ libraries used by Python
extensions
  build_scripts    "build" scripts (copy and fixup #! line)
  clean            clean up temporary files from
'build' command
  install          install everything from build directory
  install_lib      install all Python modules
(extensions and pure Python)
  install_headers  install C/C++ header files
  install_scripts  install scripts (Python or otherwise)
  install_data     install data files
  sdist            create a source distribution
(tarball, zip file, etc.)
Traceback (most recent call last):
  File "./setup.py", line 52, in <module>
    setup(defaults)
  File "./setup.py", line 46, in setup
    d = distutils.core.setup(**kw)
  File "/usr/dev/lib/python2.5/distutils/core.py", line
137, in setup
    ok = dist.parse_command_line()
  File "/usr/dev/lib/python2.5/distutils/dist.py", line
455, in parse_command_line
    if self.handle_display_options(option_order):
  File "/usr/dev/lib/python2.5/distutils/dist.py", line
680, in handle_display_options
    self.print_commands()
  File "/usr/dev/lib/python2.5/distutils/dist.py", line
758, in print_commands
    max_length)
  File "/usr/dev/lib/python2.5/distutils/dist.py", line
720, in print_command_list
    klass = self.get_command_class(cmd)
  File "/usr/dev/lib/python2.5/distutils/dist.py", line
851, in get_command_class
    raise DistutilsModuleError("invalid command '%s'" %
command)
distutils.errors.DistutilsModuleError: invalid command
'register'

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

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


More information about the Python-bugs-list mailing list