diff setup.py @ 73:d262139732f7

Fixed to work against mercurial >= 4.1 (which requires using @command decorator for commands). (internally using mercurial_extension_utils to define command portably)
author Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
date Thu, 18 May 2017 17:36:19 +0200
parents 387cab3d2bf9
children 879d1f392fa7
line wrap: on
line diff
--- a/setup.py	Thu May 18 17:35:36 2017 +0200
+++ b/setup.py	Thu May 18 17:36:19 2017 +0200
@@ -21,7 +21,12 @@
     description='Mercurial allpaths extension',
     long_description=LONG_DESCRIPTION,
     license='GNU General Public License v2 (GPLv2)',
-    py_modules=['mercurial_all_paths'],
+    py_modules=[
+        'mercurial_all_paths',
+    ],
+    install_requires=[
+        'mercurial_extension_utils>=1.2.0',
+    ],
     keywords="mercurial paths multi extension",
     classifiers=[
         'Development Status :: 4 - Beta',