From 49ed880fd366de21d094debfe17555ccdc9bd306 Mon Sep 17 00:00:00 2001 From: Olli-Pekka Heinisuo Date: Mon, 6 Apr 2020 18:45:35 +0300 Subject: [PATCH] cmake needs forward slashes --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1cc5d0e..24aa011 100644 --- a/setup.py +++ b/setup.py @@ -39,8 +39,8 @@ def main(): from skbuild import cmaker python_version = cmaker.CMaker.get_python_version() - python_lib_path = cmaker.CMaker.get_python_library(python_version) - python_include_dir = cmaker.CMaker.get_python_include_dir(python_version) + python_lib_path = cmaker.CMaker.get_python_library(python_version).replace('\\', '/') + python_include_dir = cmaker.CMaker.get_python_include_dir(python_version).replace('\\', '/') if os.path.exists(".git"): -- GitLab