Fix for including hgext in Windows compiled version.
authorLee Cantey <lcantey@gmail.com>
Mon, 18 Jun 2007 15:14:49 -0700
changeset 4628 02956be66a58
parent 4627 d4e4d0f4fba4
child 4629 a04b5f37eda7
Fix for including hgext in Windows compiled version. From Shun-ichi GOTO via Mercurial mailing list.
setup.py
--- a/setup.py	Mon Jun 18 15:06:14 2007 -0700
+++ b/setup.py	Mon Jun 18 15:14:49 2007 -0700
@@ -70,7 +70,8 @@
                   for root, dirs, files in os.walk('templates')],
       cmdclass=cmdclass,
       scripts=['hg', 'hgmerge'],
-      options=dict(bdist_mpkg=dict(zipdist=True,
+      options=dict(py2exe=dict(packages=['hgext']),
+                   bdist_mpkg=dict(zipdist=True,
                                    license='COPYING',
                                    readme='contrib/macosx/Readme.html',
                                    welcome='contrib/macosx/Welcome.html')),