From 2f29d18e535eae03639a709cfe2cd5703a3dd803 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 8 Nov 2011 07:01:16 -0800 Subject: Use setuptools if available. --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 217c6d23..a49ec9d6 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,10 @@ # file, which you should have received as part of this distribution. import sys -from distutils.core import setup, Command +try: + from setuptools import setup, Command +except ImportError: + from distutils.core import setup, Command # from ez_setup import use_setuptools from testall import TestCommand -- cgit v1.2.3