Commits

Anonymous committed a723b1e

fix install when not from hg repo for pypi

Comments (0)

Files changed (1)

 from setuptools import setup, find_packages
 import sys, os
 
-version = '0.6'
+version = '0.6.1'
 
 try:
     from mercurial import ui, hg, error
     ver = repo[version]
 except ImportError:
     pass
+except error.RepoError:
+    pass
 except error.RepoLookupError:
     tip = repo["tip"]
     version = version + ".%s.%s" % (tip.rev(), tip.hex()[:12])