From 2873e650780ff0cc83bb3e426a301c82b928ff89 Mon Sep 17 00:00:00 2001 From: David Anthoff Date: Mon, 17 Mar 2014 15:40:24 -0700 Subject: [PATCH] Fix error in setup.py computing path to nPython.exe --- pythonnet/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonnet/setup.py b/pythonnet/setup.py index 925022324..ee35d8ddd 100644 --- a/pythonnet/setup.py +++ b/pythonnet/setup.py @@ -183,7 +183,7 @@ def finalize_options(self): # fixup scripts to look in the build_ext output folder if self.scripts: build_ext = self.get_finalized_command("build_ext") - output_dir = os.path.dirname(build_ext.get_ext_fullpath(_npython_exe)) + output_dir = os.path.dirname(build_ext.get_ext_fullpath("clr")) scripts = [] for script in self.scripts: if os.path.exists(os.path.join(output_dir, script)):