From 1f30bc06772ac6ad3ceb6ee2dd63001ac71cebec Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 19 Sep 2011 12:12:14 -0500 Subject: [PATCH] setup tools yo --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f60de3c..c47f2b0 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,11 @@ import os import sys -from distutils.core import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + # Publish shortcut. if sys.argv[-1] == "publish":