Mercurial > public > mercurial-scm > hg-stable
comparison setup.py @ 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 | 399ed3e86a49 |
comparison
equal
deleted
inserted
replaced
41958:d6e3c16d48ab | 41959:e5ac701e5b7c |
---|---|
1251 #'mercurial.cffi', | 1251 #'mercurial.cffi', |
1252 'mercurial.pure', | 1252 'mercurial.pure', |
1253 ] | 1253 ] |
1254 | 1254 |
1255 py2exeexcludes = [] | 1255 py2exeexcludes = [] |
1256 py2exedllexcludes = [] | 1256 py2exedllexcludes = ['crypt32.dll'] |
1257 | 1257 |
1258 if issetuptools: | 1258 if issetuptools: |
1259 extra['python_requires'] = supportedpy | 1259 extra['python_requires'] = supportedpy |
1260 | 1260 |
1261 if py2exeloaded: | 1261 if py2exeloaded: |