D6136: setup: exclude crypt32.dll in py2exe builds
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Thu Mar 14 21:39:46 EDT 2019
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
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.
diff --git a/setup.py b/setup.py
@@ -1253,7 +1253,7 @@
py2exeexcludes = 
-py2exedllexcludes = 
+py2exedllexcludes = ['crypt32.dll']
extra['python_requires'] = supportedpy
To: indygreg, #hg-reviewers
More information about the Mercurial-devel