From 5a368426382d61ee11451cf28e9e583e19516995 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 6 May 2018 14:40:09 -0400 Subject: [PATCH] Print python version in build log. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 9bc20b334..6a0cac401 100644 --- a/setup.py +++ b/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)))