From 21d35ae336ddc7b5459971263d9bedacc32fa3bd Mon Sep 17 00:00:00 2001 From: Charles Duffy Date: Thu, 18 Apr 2013 17:12:02 -0500 Subject: [PATCH] Use setuptools when available --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ffb4900..0f2ff3d 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,10 @@ # the terms of any one of the MPL, the GPL or the LGPL. # # ***** END LICENSE BLOCK ***** -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup with open('README.rst') as f: