changeset 41959:e5ac701e5b7c

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 14 Mar 2019 18:25:07 -0700
parents d6e3c16d48ab
children 9661a9c0695e
files setup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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