mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Print python version in build log.
This commit is contained in:
parent
f4dc4855c6
commit
5a36842638
1
setup.py
1
setup.py
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user