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
5a368426
Commit
5a368426
authored
May 06, 2018
by
Davis King
Browse files
Print python version in build log.
parent
f4dc4855
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
setup.py
setup.py
+1
-0
No files found.
setup.py
View file @
5a368426
...
...
@@ -159,6 +159,7 @@ class CMakeBuild(build_ext):
cmake_setup
=
[
'cmake'
,
ext
.
sourcedir
]
+
cmake_args
cmake_build
=
[
'cmake'
,
'--build'
,
'.'
]
+
build_args
print
(
"Building extension for Python {}"
.
format
(
sys
.
version
.
split
(
'
\n
'
,
1
)[
0
]))
print
(
"Invoking CMake setup: '{}'"
.
format
(
' '
.
join
(
cmake_setup
)))
subprocess
.
check_call
(
cmake_setup
,
cwd
=
build_folder
)
print
(
"Invoking CMake build: '{}'"
.
format
(
' '
.
join
(
cmake_build
)))
...
...
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