Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't require ez_setup in setup.py

  • Loading branch information...
commit c67e40af3b6f5bb1c7246ea68dd36e2fbd73ed4b 1 parent 57d67c5
@thobbs thobbs authored
Showing with 11 additions and 3 deletions.
  1. +11 −3 setup.py
View
14 setup.py
@@ -11,9 +11,17 @@
except:
has_subprocess = False
-from ez_setup import use_setuptools
-use_setuptools()
-from setuptools import setup
+try:
+ from ez_setup import use_setuptools
+ use_setuptools()
+except ImportError:
+ pass
+
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
from distutils.cmd import Command
__version_info__ = (1, 2, 0)
Please sign in to comment.
Something went wrong with that request. Please try again.