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
bbeceeaf
Commit
bbeceeaf
authored
Feb 18, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed all 'options' class attributes to 'user_options'.
parent
592f2827
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
115 additions
and
105 deletions
+115
-105
Lib/distutils/command/build.py
Lib/distutils/command/build.py
+10
-9
Lib/distutils/command/build_clib.py
Lib/distutils/command/build_clib.py
+4
-3
Lib/distutils/command/build_ext.py
Lib/distutils/command/build_ext.py
+20
-19
Lib/distutils/command/build_lib.py
Lib/distutils/command/build_lib.py
+4
-3
Lib/distutils/command/build_py.py
Lib/distutils/command/build_py.py
+3
-2
Lib/distutils/command/install.py
Lib/distutils/command/install.py
+37
-36
Lib/distutils/command/install_ext.py
Lib/distutils/command/install_ext.py
+4
-3
Lib/distutils/command/install_lib.py
Lib/distutils/command/install_lib.py
+6
-5
Lib/distutils/command/install_py.py
Lib/distutils/command/install_py.py
+6
-5
Lib/distutils/command/sdist.py
Lib/distutils/command/sdist.py
+21
-20
No files found.
Lib/distutils/command/build.py
View file @
bbeceeaf
...
...
@@ -14,7 +14,8 @@ class build (Command):
description
=
"build everything needed to install"
options
=
[(
'build-base='
,
'b'
,
user_options
=
[
(
'build-base='
,
'b'
,
"base directory for build library"
),
(
'build-lib='
,
'l'
,
"directory for platform-shared files"
),
...
...
Lib/distutils/command/build_clib.py
View file @
bbeceeaf
...
...
@@ -28,7 +28,8 @@ from distutils.ccompiler import new_compiler
class
build_lib
(
Command
):
options
=
[(
'debug'
,
'g'
,
user_options
=
[
(
'debug'
,
'g'
,
"compile with debugging information"
),
]
...
...
Lib/distutils/command/build_ext.py
View file @
bbeceeaf
...
...
@@ -42,7 +42,8 @@ class build_ext (Command):
# takes care of both command-line and client options
# in between set_default_options() and set_final_options())
options
=
[(
'build-dir='
,
'd'
,
user_options
=
[
(
'build-dir='
,
'd'
,
"directory for compiled extension modules"
),
(
'include-dirs='
,
'I'
,
"list of directories to search for header files"
),
...
...
Lib/distutils/command/build_lib.py
View file @
bbeceeaf
...
...
@@ -28,7 +28,8 @@ from distutils.ccompiler import new_compiler
class
build_lib
(
Command
):
options
=
[(
'debug'
,
'g'
,
user_options
=
[
(
'debug'
,
'g'
,
"compile with debugging information"
),
]
...
...
Lib/distutils/command/build_py.py
View file @
bbeceeaf
...
...
@@ -18,7 +18,8 @@ class build_py (Command):
description
=
"
\
"
build
\
"
pure Python modules (copy to build directory)"
options
=
[(
'build-dir='
,
'd'
,
"directory for platform-shared files"
),
user_options
=
[
(
'build-dir='
,
'd'
,
"directory for platform-shared files"
),
]
...
...
Lib/distutils/command/install.py
View file @
bbeceeaf
...
...
@@ -16,7 +16,8 @@ class install (Command):
description
=
"install everything from build directory"
options
=
[(
'prefix='
,
None
,
"installation prefix"
),
user_options
=
[
(
'prefix='
,
None
,
"installation prefix"
),
(
'exec-prefix='
,
None
,
"prefix for platform-specific files"
),
...
...
Lib/distutils/command/install_ext.py
View file @
bbeceeaf
...
...
@@ -13,7 +13,8 @@ class install_ext (Command):
description
=
"install C/C++ extension modules"
options
=
[(
'install-dir='
,
'd'
,
"directory to install to"
),
user_options
=
[
(
'install-dir='
,
'd'
,
"directory to install to"
),
(
'build-dir='
,
'b'
,
"build directory (where to install from)"
),
]
...
...
Lib/distutils/command/install_lib.py
View file @
bbeceeaf
...
...
@@ -10,7 +10,8 @@ class install_py (Command):
description
=
"install pure Python modules"
options
=
[(
'install-dir='
,
'd'
,
"directory to install to"
),
user_options
=
[
(
'install-dir='
,
'd'
,
"directory to install to"
),
(
'build-dir='
,
'b'
,
"build directory (where to install from)"
),
(
'compile'
,
'c'
,
"compile .py to .pyc"
),
(
'optimize'
,
'o'
,
"compile .py to .pyo (optimized)"
),
...
...
Lib/distutils/command/install_py.py
View file @
bbeceeaf
...
...
@@ -10,7 +10,8 @@ class install_py (Command):
description
=
"install pure Python modules"
options
=
[(
'install-dir='
,
'd'
,
"directory to install to"
),
user_options
=
[
(
'install-dir='
,
'd'
,
"directory to install to"
),
(
'build-dir='
,
'b'
,
"build directory (where to install from)"
),
(
'compile'
,
'c'
,
"compile .py to .pyc"
),
(
'optimize'
,
'o'
,
"compile .py to .pyo (optimized)"
),
...
...
Lib/distutils/command/sdist.py
View file @
bbeceeaf
...
...
@@ -21,7 +21,8 @@ class sdist (Command):
description
=
"create a source distribution (tarball, zip file, etc.)"
options
=
[(
'template='
,
't'
,
user_options
=
[
(
'template='
,
't'
,
"name of manifest template file [default: MANIFEST.in]"
),
(
'manifest='
,
'm'
,
"name of manifest file [default: MANIFEST]"
),
...
...
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