From d92235ed7048080f8db1086f886012f40f6effdb Mon Sep 17 00:00:00 2001 From: KyQiao Date: Thu, 22 Jul 2021 14:42:53 +0800 Subject: [PATCH] bug fix --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 984102d..c087c69 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ def build_extension(self, ext): cmake_args = [ "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={}".format(extdir), "-DPYTHON_EXECUTABLE={}".format(sys.executable), - "-DVERSION_INFO={}".format( + "-DVERSION_INFO=\"{}\"".format( self.distribution.get_version()), # not used on MSVC, but no harm "-DCMAKE_BUILD_TYPE={}".format(cfg),