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.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6136

AFFECTED FILES
  setup.py

CHANGE DETAILS

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1253,7 +1253,7 @@
 ]
 
 py2exeexcludes = []
-py2exedllexcludes = []
+py2exedllexcludes = ['crypt32.dll']
 
 if issetuptools:
     extra['python_requires'] = supportedpy



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list