diff contrib/packaging/hgpackaging/wix.py @ 41922:c569f769c41d

wix: remove sphinx and dependencies Sphinx was cargo culted into our install environment as part of emulating TortoiseHG's behavior. THG seems to install Sphinx in order to generate THG specific documentation. We don't appear to need Sphinx or any of its dependencies in the official WiX installers. So remove it. This shaves ~1MB off the size of the MSI installers. .. bc:: The Windows MSI installers no longer include the Python sphinx package and its various dependencies. Differential Revision: https://phab.mercurial-scm.org/D6099
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 08 Mar 2019 10:25:05 -0800
parents 4371f543efda
children 9d4ae5044b4c
line wrap: on
line diff
--- a/contrib/packaging/hgpackaging/wix.py	Fri Mar 08 10:48:22 2019 -0800
+++ b/contrib/packaging/hgpackaging/wix.py	Fri Mar 08 10:25:05 2019 -0800
@@ -38,15 +38,7 @@
 EXTRA_PACKAGES = {
     'distutils',
     'enum',
-    'imagesize',
     'pygments',
-    'sphinx',
-}
-
-
-EXCLUDES = {
-    # Python 3 only.
-    'jinja2.asyncsupport',
 }
 
 
@@ -161,7 +153,7 @@
 
     build_py2exe(source_dir, hg_build_dir,
                  python_exe, 'wix', requirements_txt,
-                 extra_packages=EXTRA_PACKAGES, extra_excludes=EXCLUDES)
+                 extra_packages=EXTRA_PACKAGES)
 
     version = version or normalize_version(find_version(source_dir))
     print('using version string: %s' % version)