diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -1372,6 +1372,14 @@ options={ 'py2exe': { 'packages': py2exepackages, + 'dll_excludes': [ + 'api-ms-win-core-apiquery-l1-1-0.dll', + 'api-ms-win-core-delayload-l1-1-0.dll', + 'api-ms-win-core-delayload-l1-1-1.dll', + 'api-ms-win-core-heap-l2-1-0.dll', + 'api-ms-win-core-libraryloader-l1-2-0.dll', + 'api-ms-win-core-registry-l1-1-0.dll', + ] }, 'bdist_mpkg': { 'zipdist': False,