setup.py
changeset 41854 7a1433e90482
parent 41852 db3098d02a6d
child 41916 260305e8ddbd
equal deleted inserted replaced
41853:d7dc4ac1ff84 41854:7a1433e90482
  1284         py2exepackages.append('pygments')
  1284         py2exepackages.append('pygments')
  1285     except ImportError:
  1285     except ImportError:
  1286         pass
  1286         pass
  1287 
  1287 
  1288     try:
  1288     try:
  1289         import pywintypes
  1289         import win32ctypes
  1290         pywintypes.TRUE
  1290         win32ctypes.__version__
  1291         py2exepackages.append('pywintypes')
  1291         py2exepackages.append('win32ctypes')
  1292     except ImportError:
  1292     except ImportError:
  1293         pass
  1293         pass
  1294 
  1294 
  1295 if os.name == 'nt':
  1295 if os.name == 'nt':
  1296     # Windows binary file versions for exe/dll files must have the
  1296     # Windows binary file versions for exe/dll files must have the
  1370       cmdclass=cmdclass,
  1370       cmdclass=cmdclass,
  1371       distclass=hgdist,
  1371       distclass=hgdist,
  1372       options={
  1372       options={
  1373           'py2exe': {
  1373           'py2exe': {
  1374               'packages': py2exepackages,
  1374               'packages': py2exepackages,
  1375               'dll_excludes': [
       
  1376                   'api-ms-win-core-apiquery-l1-1-0.dll',
       
  1377                   'api-ms-win-core-delayload-l1-1-0.dll',
       
  1378                   'api-ms-win-core-delayload-l1-1-1.dll',
       
  1379                   'api-ms-win-core-heap-l2-1-0.dll',
       
  1380                   'api-ms-win-core-libraryloader-l1-2-0.dll',
       
  1381                   'api-ms-win-core-registry-l1-1-0.dll',
       
  1382               ]
       
  1383           },
  1375           },
  1384           'bdist_mpkg': {
  1376           'bdist_mpkg': {
  1385               'zipdist': False,
  1377               'zipdist': False,
  1386               'license': 'COPYING',
  1378               'license': 'COPYING',
  1387               'readme': 'contrib/packaging/macosx/Readme.html',
  1379               'readme': 'contrib/packaging/macosx/Readme.html',