Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py --help-commands exception #43223

Closed
jwpye mannequin opened this issue Apr 16, 2006 · 3 comments
Closed

setup.py --help-commands exception #43223

jwpye mannequin opened this issue Apr 16, 2006 · 3 comments
Labels
stdlib Python modules in the Lib dir

Comments

@jwpye
Copy link
Mannequin

jwpye mannequin commented Apr 16, 2006

BPO 1471407
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2006-05-03.02:59:24.000>
created_at = <Date 2006-04-16.19:23:54.000>
labels = ['library']
title = 'setup.py --help-commands exception'
updated_at = <Date 2006-05-03.02:59:24.000>
user = 'https://bugs.python.org/jwpye'

bugs.python.org fields:

activity = <Date 2006-05-03.02:59:24.000>
actor = 'jwpye'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Distutils']
creation = <Date 2006-04-16.19:23:54.000>
creator = 'jwpye'
dependencies = []
files = []
hgrepos = []
issue_num = 1471407
keywords = []
message_count = 3.0
messages = ['28247', '28248', '28249']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'jwpye']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1471407'
versions = ['Python 2.5']

@jwpye
Copy link
Mannequin Author

jwpye mannequin commented Apr 16, 2006

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

jwp@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'

@jwpye jwpye mannequin closed this as completed Apr 16, 2006
@jwpye jwpye mannequin added the stdlib Python modules in the Lib dir label Apr 16, 2006
@jwpye jwpye mannequin closed this as completed Apr 16, 2006
@jwpye jwpye mannequin added the stdlib Python modules in the Lib dir label Apr 16, 2006
@birkenfeld
Copy link
Member

Logged In: YES
user_id=849994

It looks like the "distutils.command.register" module is not
importable. Can you retry with alpha2 and see if the problem
persists?

@jwpye
Copy link
Mannequin Author

jwpye mannequin commented May 3, 2006

Logged In: YES
user_id=1044177

k, svn update'd and it looks good.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

1 participant