Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a35d1e3d
Commit
a35d1e3d
authored
Aug 02, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#7973: Fix distutils options spelling.
parent
ee526618
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/distutils/builtdist.rst
Doc/distutils/builtdist.rst
+1
-1
Lib/distutils/command/bdist_msi.py
Lib/distutils/command/bdist_msi.py
+1
-1
Lib/distutils/command/bdist_wininst.py
Lib/distutils/command/bdist_wininst.py
+1
-1
No files found.
Doc/distutils/builtdist.rst
View file @
a35d1e3d
...
...
@@ -176,7 +176,7 @@ easily specify multiple formats in one run. If you need to do both, you can
explicitly specify multiple :command:`bdist_\*` commands and their options::
python setup.py bdist_rpm --packager="John Doe <jdoe@example.org>" \
bdist_wininst --target
_
version="2.0"
bdist_wininst --target
-
version="2.0"
Creating RPM packages is driven by a :file:`.spec` file, much as using the
Distutils is driven by the setup script. To make your life easier, the
...
...
Lib/distutils/command/bdist_msi.py
View file @
a35d1e3d
...
...
@@ -148,7 +148,7 @@ class bdist_msi(Command):
if
not
self
.
skip_build
and
self
.
distribution
.
has_ext_modules
()
\
and
self
.
target_version
!=
short_version
:
raise
DistutilsOptionError
(
"target version can only be %s, or the '--skip
_
build'"
"target version can only be %s, or the '--skip
-
build'"
" option must be specified"
%
(
short_version
,))
else
:
self
.
versions
=
list
(
self
.
all_versions
)
...
...
Lib/distutils/command/bdist_wininst.py
View file @
a35d1e3d
...
...
@@ -89,7 +89,7 @@ class bdist_wininst(Command):
short_version
=
get_python_version
()
if
self
.
target_version
and
self
.
target_version
!=
short_version
:
raise
DistutilsOptionError
(
"target version can only be %s, or the '--skip
_
build'"
\
"target version can only be %s, or the '--skip
-
build'"
\
" option must be specified"
%
(
short_version
,))
self
.
target_version
=
short_version
...
...
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