Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cpython
Commits
edc6a519
Commit
edc6a519
authored
24 years ago
by
Greg Ward
Browse files
Options
Download
Email Patches
Plain Diff
Fixed to use 'reinitialize_command()' to fetch the "install" command object.
parent
a1e4b05a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
Lib/distutils/command/bdist_dumb.py
Lib/distutils/command/bdist_dumb.py
+1
-6
No files found.
Lib/distutils/command/bdist_dumb.py
View file @
edc6a519
...
...
@@ -58,12 +58,7 @@ class bdist_dumb (Command):
self
.
run_command
(
'build'
)
# XXX don't use 'self.get_finalized_command()', because it always runs
# 'ensure_finalized()' on the command object; we explictly want a
# command object that has *not* been finalized, so we can set
# options on it! (The option we set, 'root', is so that we can do
# a proper "fake install" using this install command object.)
install
=
self
.
distribution
.
get_command_obj
(
'install'
)
install
=
self
.
reinitialize_command
(
'install'
)
install
.
root
=
self
.
bdist_dir
self
.
announce
(
"installing to %s"
%
self
.
bdist_dir
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment