comparison contrib/packaging/hgpackaging/wix.py @ 46364:5b747aa1b2be stable

packaging: include `windows_curses` when building py2exe The `_curses.pyd` module was previously being included by py2exe's module search, but it left out `_curses_panel.pyd`. Differential Revision: https://phab.mercurial-scm.org/D9857
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 24 Jan 2021 19:14:50 -0500
parents 89a2afe31e82
children df1767fa822d
comparison
equal deleted inserted replaced
46363:d6cfe45afb18 46364:5b747aa1b2be
37 'keyring', 37 'keyring',
38 'pygments', 38 'pygments',
39 'win32ctypes', 39 'win32ctypes',
40 } 40 }
41 41
42 EXTRA_INCLUDES = {
43 '_curses',
44 '_curses_panel',
45 }
42 46
43 EXTRA_INSTALL_RULES = [ 47 EXTRA_INSTALL_RULES = [
44 ('contrib/packaging/wix/COPYING.rtf', 'COPYING.rtf'), 48 ('contrib/packaging/wix/COPYING.rtf', 'COPYING.rtf'),
45 ('contrib/win32/mercurial.ini', 'defaultrc/mercurial.rc'), 49 ('contrib/win32/mercurial.ini', 'defaultrc/mercurial.rc'),
46 ] 50 ]
328 python_exe, 332 python_exe,
329 'wix', 333 'wix',
330 requirements_txt, 334 requirements_txt,
331 extra_packages=EXTRA_PACKAGES, 335 extra_packages=EXTRA_PACKAGES,
332 extra_packages_script=extra_packages_script, 336 extra_packages_script=extra_packages_script,
337 extra_includes=EXTRA_INCLUDES,
333 ) 338 )
334 339
335 build_dir = hg_build_dir / ('wix-%s' % arch) 340 build_dir = hg_build_dir / ('wix-%s' % arch)
336 staging_dir = build_dir / 'stage' 341 staging_dir = build_dir / 'stage'
337 342