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.
--- 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(),