diff options
author | Lance Stout <lancestout@gmail.com> | 2011-11-08 07:01:16 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-11-08 07:01:16 -0800 |
commit | 2f29d18e535eae03639a709cfe2cd5703a3dd803 (patch) | |
tree | 39dff44c7f35ef52745ae75879fb432dca6c181b /setup.py | |
parent | 888e286a09647ed70abb6b69dd8114268a7712ac (diff) | |
download | slixmpp-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-x | setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |