Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
0881101d
Commit
0881101d
authored
Sep 25, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 'boolean_options' list to support config file parsing.
parent
a9f1b90d
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
31 additions
and
0 deletions
+31
-0
command/bdist_dumb.py
command/bdist_dumb.py
+2
-0
command/bdist_rpm.py
command/bdist_rpm.py
+2
-0
command/bdist_wininst.py
command/bdist_wininst.py
+2
-0
command/build.py
command/build.py
+2
-0
command/build_clib.py
command/build_clib.py
+2
-0
command/build_ext.py
command/build_ext.py
+2
-0
command/build_py.py
command/build_py.py
+2
-0
command/build_scripts.py
command/build_scripts.py
+2
-0
command/clean.py
command/clean.py
+2
-0
command/install.py
command/install.py
+2
-0
command/install_data.py
command/install_data.py
+2
-0
command/install_headers.py
command/install_headers.py
+1
-0
command/install_lib.py
command/install_lib.py
+2
-0
command/install_scripts.py
command/install_scripts.py
+3
-0
command/sdist.py
command/sdist.py
+3
-0
No files found.
command/bdist_dumb.py
View file @
0881101d
...
...
@@ -32,6 +32,8 @@ class bdist_dumb (Command):
"directory to put final built distributions in"
),
]
boolean_options
=
[
'keep-temp'
]
default_format
=
{
'posix'
:
'gztar'
,
'nt'
:
'zip'
,
}
...
...
command/bdist_rpm.py
View file @
0881101d
...
...
@@ -111,6 +111,8 @@ class bdist_rpm (Command):
"RPM 2 compatibility mode"
),
]
boolean_options
=
[
'keep-temp'
,
'rpm2-mode'
]
negative_opt
=
{
'no-keep-temp'
:
'keep-temp'
,
'no-rpm-opt-flags'
:
'use-rpm-opt-flags'
,
'rpm2-mode'
:
'rpm3-mode'
}
...
...
command/bdist_wininst.py
View file @
0881101d
...
...
@@ -33,6 +33,8 @@ class bdist_wininst (Command):
"directory to put final built distributions in"
),
]
boolean_options
=
[
'keep-temp'
]
def
initialize_options
(
self
):
self
.
bdist_dir
=
None
self
.
keep_temp
=
0
...
...
command/build.py
View file @
0881101d
...
...
@@ -42,6 +42,8 @@ class build (Command):
"forcibly build everything (ignore file timestamps)"
),
]
boolean_options
=
[
'debug'
,
'force'
]
help_options
=
[
(
'help-compiler'
,
None
,
"list available compilers"
,
show_compilers
),
...
...
command/build_clib.py
View file @
0881101d
...
...
@@ -48,6 +48,8 @@ class build_clib (Command):
"specify the compiler type"
),
]
boolean_options
=
[
'debug'
,
'force'
]
help_options
=
[
(
'help-compiler'
,
None
,
"list available compilers"
,
show_compilers
),
...
...
command/build_ext.py
View file @
0881101d
...
...
@@ -82,6 +82,8 @@ class build_ext (Command):
"make SWIG create C++ files (default is C)"
),
]
boolean_options
=
[
'inplace'
,
'debug'
,
'force'
,
'swig-cpp'
]
help_options
=
[
(
'help-compiler'
,
None
,
"list available compilers"
,
show_compilers
),
...
...
command/build_py.py
View file @
0881101d
...
...
@@ -23,6 +23,8 @@ class build_py (Command):
(
'force'
,
'f'
,
"forcibly build everything (ignore file timestamps)"
),
]
boolean_options
=
[
'force'
]
def
initialize_options
(
self
):
self
.
build_lib
=
None
...
...
command/build_scripts.py
View file @
0881101d
...
...
@@ -22,6 +22,8 @@ class build_scripts (Command):
('
force
', 'f', "forcibly build everything (ignore file timestamps"),
]
boolean_options = ['
force
']
def initialize_options (self):
self.build_dir = None
...
...
command/clean.py
View file @
0881101d
...
...
@@ -28,6 +28,8 @@ class clean (Command):
"remove all build output, not just temporary by-products"
)
]
boolean_options
=
[
'all'
]
def
initialize_options
(
self
):
self
.
build_base
=
None
self
.
build_lib
=
None
...
...
command/install.py
View file @
0881101d
...
...
@@ -106,6 +106,8 @@ class install (Command):
"filename in which to record list of installed files"
),
]
boolean_options
=
[
'force'
,
'skip-build'
]
def
initialize_options
(
self
):
...
...
command/install_data.py
View file @
0881101d
...
...
@@ -25,6 +25,8 @@ class install_data (Command):
(
'force'
,
'f'
,
"force installation (overwrite existing files)"
),
]
boolean_options
=
[
'force'
]
def
initialize_options
(
self
):
self
.
install_dir
=
None
self
.
outfiles
=
[]
...
...
command/install_headers.py
View file @
0881101d
...
...
@@ -21,6 +21,7 @@ class install_headers (Command):
"force installation (overwrite existing files)"
),
]
boolean_options
=
[
'force'
]
def
initialize_options
(
self
):
self
.
install_dir
=
None
...
...
command/install_lib.py
View file @
0881101d
...
...
@@ -19,6 +19,8 @@ class install_lib (Command):
(
'skip-build'
,
None
,
"skip the build steps"
),
]
boolean_options
=
[
'force'
,
'compile'
,
'optimize'
,
'skip-build'
]
def
initialize_options
(
self
):
# let the 'install' command dictate our installation directory
...
...
command/install_scripts.py
View file @
0881101d
...
...
@@ -22,6 +22,9 @@ class install_scripts (Command):
(
'skip-build'
,
None
,
"skip the build steps"
),
]
boolean_options
=
[
'force'
,
'skip-build'
]
def
initialize_options
(
self
):
self
.
install_dir
=
None
self
.
force
=
0
...
...
command/sdist.py
View file @
0881101d
...
...
@@ -67,6 +67,9 @@ class sdist (Command):
"[default: dist]"
),
]
boolean_options
=
[
'use-defaults'
,
'prune'
,
'manifest-only'
,
'force-manifest'
,
'keep-tree'
]
help_options
=
[
(
'help-formats'
,
None
,
...
...
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