setup: exclude crypt32.dll in py2exe builds
py2exe is picking up crypt32.dll as a dependency and is including
the DLL in the dist/lib directory, where it can get picked up by an
installer and distributed.
crypt32.dll is a core Windows DLL since Windows XP. We don't need
to distribute it.
Differential Revision: https://phab.mercurial-scm.org/D6136
--- a/setup.py Thu Mar 14 13:27:37 2019 -0700
+++ b/setup.py Thu Mar 14 18:25:07 2019 -0700
@@ -1253,7 +1253,7 @@
]
py2exeexcludes = []
-py2exedllexcludes = []
+py2exedllexcludes = ['crypt32.dll']
if issetuptools:
extra['python_requires'] = supportedpy