diff --git a/setup.py b/setup.py index 5d5ad5058..dc7e9620b 100644 --- a/setup.py +++ b/setup.py @@ -298,7 +298,7 @@ def _check_output(*popenargs, **kwargs): os.chdir(setupdir) sources = [] - for ext in (".sln", ".snk"): + for ext in (".sln", ".snk", ".config"): sources.extend(glob("*" + ext)) for root, dirnames, filenames in os.walk("src"): @@ -324,7 +324,9 @@ def _check_output(*popenargs, **kwargs): Extension("clr", sources=sources) ], data_files=[ - ("{install_platlib}", ["{build_lib}/Python.Runtime.dll"]), + ("{install_platlib}", [ + "{build_lib}/Python.Runtime.dll", + "Python.Runtime.dll.config"]), ], scripts=[_npython_exe], zip_safe=False,