Permalink
Browse files

Merge pull request #36 from tseaver/optional_setuptools

Use setuptools, if present.
  • Loading branch information...
2 parents 7b9fb75 + 6524812 commit 65c953f04d0f2adb98dd3bfcae302343548f16ac @willnorris willnorris committed Jul 4, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 setup.py
View
@@ -1,7 +1,10 @@
import sys
import os
-from distutils.core import setup
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
if 'sdist' in sys.argv:
os.system('./admin/makedoc')

0 comments on commit 65c953f

Please sign in to comment.