Mercurial > hgsubversion
changeset 353:1ad05cffb20f
setup.py: Use setuptools if available.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 25 May 2009 12:44:33 -0500 |
parents | cc7a10efddc9 |
children | 36d26e158748 |
files | .hgignore setup.py |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
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',