From 8b409cc65bdc59a4bd74a784c7408c6085146b4d Mon Sep 17 00:00:00 2001 From: Chad Fulton Date: Sat, 25 Feb 2017 15:20:32 -0500 Subject: [PATCH] BLD/BUG: Exclusions path separator for Windows --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4ee4aeb6502..2f060efc14e 100644 --- a/setup.py +++ b/setup.py @@ -450,7 +450,8 @@ def run(self): except ImportError: for name, data in statespace_ext_data.items(): path = '.'.join([data["name"].split('.')[0], 'pyx.in']) - append_cython_exclusion(path, CYTHON_EXCLUSION_FILE) + append_cython_exclusion(path.replace('/', os.path.sep), + CYTHON_EXCLUSION_FILE) extensions = [] for name, data in ext_data.items():