contrib/packaging/hgpackaging/inno.py
changeset 41916 260305e8ddbd
parent 41915 a2e191a937a9
child 43076 2372284d9457
--- a/contrib/packaging/hgpackaging/inno.py	Thu Mar 07 15:43:54 2019 -0800
+++ b/contrib/packaging/hgpackaging/inno.py	Thu Mar 07 12:15:32 2019 -0800
@@ -20,6 +20,14 @@
 )
 
 
+EXTRA_PACKAGES = {
+    'dulwich',
+    'keyring',
+    'pygments',
+    'win32ctypes',
+}
+
+
 def build(source_dir: pathlib.Path, build_dir: pathlib.Path,
           python_exe: pathlib.Path, iscc_exe: pathlib.Path,
           version=None):
@@ -40,7 +48,7 @@
                         'inno' / 'requirements.txt')
 
     build_py2exe(source_dir, build_dir, python_exe, 'inno',
-                 requirements_txt)
+                 requirements_txt, extra_packages=EXTRA_PACKAGES)
 
     # hg.exe depends on VC9 runtime DLLs. Copy those into place.
     for f in find_vc_runtime_files(vc_x64):