Try using setuptools in setup.py, allow bdist_egg where possible
authorGuy Rozendorn <guy@rzn.co.il>
Mon, 13 May 2013 13:07:45 +0000 (16:07 +0300)
committerGuy Rozendorn <guy@rzn.co.il>
Mon, 13 May 2013 13:07:45 +0000 (16:07 +0300)
setup.py

index 64a3043..7982076 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,7 @@
-from distutils.core import setup, Extension
+try:
+    from setuptools import setup, Extension
+except ImportError:
+    from distutils.core import setup, Extension
 from distutils.sysconfig import get_python_lib
 import os, os.path
 import sys