]> git.phdru.name Git - m_librarian.git/commitdiff
Separate import of ez_setup and setuptools
authorOleg Broytman <phd@phdru.name>
Sun, 20 Dec 2015 17:39:32 +0000 (20:39 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 20 Dec 2015 17:39:32 +0000 (20:39 +0300)
setup.py

index 1f102d3cfc378d7deeacfec125c3209b073004c5..1aacf389b316a45fb2e8abc39acbfb6c57bf1682 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -6,6 +6,9 @@ from os.path import abspath, dirname, join
 try:
     from ez_setup import use_setuptools
     use_setuptools()
+except ImportError:
+    pass
+try:
     from setuptools import setup
     is_setuptools = True
 except ImportError: