Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
a2cd5d44
Commit
a2cd5d44
authored
Aug 19, 2015
by
Ehsan Azarnasab
Browse files
remove used options from argv
parent
e8b16101
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
tools/python/setup.py
tools/python/setup.py
+6
-1
No files found.
tools/python/setup.py
View file @
a2cd5d44
...
@@ -59,7 +59,12 @@ script_dir = os.getcwd()
...
@@ -59,7 +59,12 @@ script_dir = os.getcwd()
cmake_path
=
find_executable
(
"cmake"
)
cmake_path
=
find_executable
(
"cmake"
)
cmake_extra
=
[]
cmake_extra
=
[]
cmake_config
=
'Release'
cmake_config
=
'Release'
options
=
[
arg
[
2
:].
lower
()
for
arg
in
sys
.
argv
if
arg
.
startswith
(
'--'
)]
options
=
[]
for
arg
in
sys
.
argv
:
if
arg
.
startswith
(
'--'
):
sys
.
argv
.
remove
(
arg
)
options
.
append
(
arg
[
2
:].
lower
())
opt_key
=
None
opt_key
=
None
# parse commandline options
# parse commandline options
...
...
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