Skip to content

Commit

Permalink
setuptools upset with absolute path for source files, attempted fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAnnex committed Jul 28, 2015
1 parent 14fcdbb commit 838cd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -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:
Expand Down

0 comments on commit 838cd8f

Please sign in to comment.