Commits

Anonymous committed c90cfe2

[svn] Added conditional imports for setuptools, Fixes #306.

  • Participants
  • Parent commits df991e2

Comments (0)

Files changed (1)

-from ez_setup import use_setuptools
-use_setuptools()
-from setuptools import setup, find_packages
+try:
+    from setuptools import setup, find_packages
+except ImportError:
+    from ez_setup import use_setuptools
+    use_setuptools()
+    from setuptools import setup, find_packages
 
 version = '0.3.3'