From 838cd8f794c2a2f7b99b05d89c59fc04a55de27c Mon Sep 17 00:00:00 2001 From: AndrewAnnex Date: Mon, 27 Jul 2015 20:50:55 -0400 Subject: [PATCH] setuptools upset with absolute path for source files, attempted fix --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9cac1fe9..046cd633 100644 --- a/setup.py +++ b/setup.py @@ -124,7 +124,7 @@ def windows_method(): if host_OS == "Windows": try: src_Path = os.path.join(cspice_dir, "src", "cspice") - sorceFiles = [os.path.join(cspice_dir, "src", "cspice", x) for x in os.listdir(src_Path) if x.endswith(".c")] + sorceFiles = [os.path.join("cspice", "src", "cspice", x) for x in os.listdir(src_Path) if x.endswith(".c")] module = Extension('spice', sources=sorceFiles) return module except BaseException as error: