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

Skip to content

Commit eacdd4b

Browse files
committed
Merge pull request #76 from tonyroberts/develop
Include Python.Runtime.dll.config in sdist.
2 parents e51c50b + ada7d02 commit eacdd4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def _check_output(*popenargs, **kwargs):
298298
os.chdir(setupdir)
299299

300300
sources = []
301-
for ext in (".sln", ".snk"):
301+
for ext in (".sln", ".snk", ".config"):
302302
sources.extend(glob("*" + ext))
303303

304304
for root, dirnames, filenames in os.walk("src"):
@@ -324,7 +324,9 @@ def _check_output(*popenargs, **kwargs):
324324
Extension("clr", sources=sources)
325325
],
326326
data_files=[
327-
("{install_platlib}", ["{build_lib}/Python.Runtime.dll"]),
327+
("{install_platlib}", [
328+
"{build_lib}/Python.Runtime.dll",
329+
"Python.Runtime.dll.config"]),
328330
],
329331
scripts=[_npython_exe],
330332
zip_safe=False,

0 commit comments

Comments
 (0)