projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6b07da
)
Try using setuptools in setup.py, allow bdist_egg where possible
author
Guy Rozendorn
<guy@rzn.co.il>
Mon, 13 May 2013 13:07:45 +0000
(16:07 +0300)
committer
Guy Rozendorn
<guy@rzn.co.il>
Mon, 13 May 2013 13:07:45 +0000
(16:07 +0300)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/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