[PATCH 1 of 1] hgk: add hgk script to the distribution (issue1096)

Gilles Moris gilles.moris at free.fr
Thu Feb 26 16:14:19 CST 2009


1 file changed, 2 insertions(+)
setup.py |    2 ++


# HG changeset patch
# User Gilles Moris <gilles.moris at free.fr>
# Date 1235686403 -3600
# Node ID 880e03e6d4e0f482632a0c8e466dfe9730428114
# Parent  252f48f5d1900bd365a53c663e3632aa8dc06427
hgk: add hgk script to the distribution (issue1096).

So that the extension can just be activated in hgrc without having
to get the sources.

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -41,6 +41,8 @@
 scripts = ['hg']
 if os.name == 'nt':
     scripts.append('contrib/win32/hg.bat')
+else:
+    scripts.append('contrib/hgk')
 
 # simplified version of distutils.ccompiler.CCompiler.has_function
 # that actually removes its temporary files.


More information about the Mercurial-devel mailing list