changeset 2067:74869d26f0e0

setup.py: remove unused and harmful code importing mercurial This was failing on some build system we have. The import seemed to succeed, but then mercurial.__all__ would fail. I don't know why, but since it's unused anyway, let's just drop it.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 09 Mar 2017 08:33:00 -0800
parents a35f6b1e4a41
children 4b7478433b07
files setup.py
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Wed Mar 08 13:48:35 2017 -0800
+++ b/setup.py	Thu Mar 09 08:33:00 2017 -0800
@@ -30,13 +30,6 @@
     py_modules.append('hgext3rd.evolve.hack.inhibit')
     py_modules.append('hgext3rd.evolve.hack.directaccess')
 
-requires = []
-try:
-    import mercurial
-    mercurial.__all__
-except ImportError:
-    requires.append('mercurial>=%s' % min_hg_version())
-
 setup(
     name='hg-evolve',
     version=get_version(),