annotate roundup/dist/command/install_lib.py @ 8540:e8d1da6e3571

bug: fix traceback in roundup-admin init with bad config values initialize accepts setting values for config.ini file settings. If they are not valid, you got a python traceback. ConfigurationError exceptions are now trapped. The admin.py's usageError_feedback method is used to inform the user. Also the feedback message now starts with a newline making it easier to read by separating it from command that caused the issue.
author John Rouillard <rouilj@ieee.org>
date Mon, 23 Mar 2026 13:18:41 -0400
parents 42bf0a707763
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4516
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
1 from roundup.dist.command.build import build_message_files, check_manifest
6647
42bf0a707763 issue2551183 - Replace references to distutils in roundup/dist/command
John Rouillard <rouilj@ieee.org>
parents: 4516
diff changeset
2 from setuptools.command.install_lib import install_lib as base
4516
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
3
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
4 class install_lib(base):
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
5
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
6 def run(self):
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
7 check_manifest()
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
8 build_message_files(self)
85dfe17c182e Installation:
Bernhard Reiter <Bernhard.Reiter@intevation.de>
parents:
diff changeset
9 base.run(self)

Roundup Issue Tracker: http://roundup-tracker.org/