Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd511ce

Browse files
committed
Merge pull request #23 from davidanthoff/fixscriptpatherror
Fix error in setup.py computing path to nPython.exe
2 parents 811e0ce + 2873e65 commit dd511ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonnet/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def finalize_options(self):
183183
# fixup scripts to look in the build_ext output folder
184184
if self.scripts:
185185
build_ext = self.get_finalized_command("build_ext")
186-
output_dir = os.path.dirname(build_ext.get_ext_fullpath(_npython_exe))
186+
output_dir = os.path.dirname(build_ext.get_ext_fullpath("clr"))
187187
scripts = []
188188
for script in self.scripts:
189189
if os.path.exists(os.path.join(output_dir, script)):

0 commit comments

Comments
 (0)