Mercurial > hgsubversion
diff setup.py @ 353:1ad05cffb20f
setup.py: Use setuptools if available.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 25 May 2009 12:44:33 -0500 |
parents | 537de0300510 |
children | ac9c9e1a8022 |
line wrap: on
line diff
--- a/setup.py +++ b/setup.py @@ -9,7 +9,10 @@ try: from distutils.command.build_py import build_py_2to3 as build_py except ImportError: from distutils.command.build_py import build_py -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup setup( name = 'hgsubversion',