summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-11-08 07:01:16 -0800
committerLance Stout <lancestout@gmail.com>2011-11-08 07:01:16 -0800
commit2f29d18e535eae03639a709cfe2cd5703a3dd803 (patch)
tree39dff44c7f35ef52745ae75879fb432dca6c181b /setup.py
parent888e286a09647ed70abb6b69dd8114268a7712ac (diff)
downloadslixmpp-2f29d18e535eae03639a709cfe2cd5703a3dd803.tar.gz
slixmpp-2f29d18e535eae03639a709cfe2cd5703a3dd803.tar.bz2
slixmpp-2f29d18e535eae03639a709cfe2cd5703a3dd803.tar.xz
slixmpp-2f29d18e535eae03639a709cfe2cd5703a3dd803.zip
Use setuptools if available.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py5
1 files changed, 4 insertions, 1 deletions
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