Do not call use_setuptools
This commit is contained in:
parent
04cca8ba98
commit
c7169820a2
1 changed files with 7 additions and 4 deletions
9
setup.py
9
setup.py
|
@ -3,12 +3,15 @@
|
||||||
|
|
||||||
# python setup.py sdist --formats=gztar
|
# python setup.py sdist --formats=gztar
|
||||||
|
|
||||||
import ez_setup
|
|
||||||
ez_setup.use_setuptools()
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import platform
|
import platform
|
||||||
from setuptools import setup, Extension
|
|
||||||
|
try:
|
||||||
|
from setuptools import setup, Extension
|
||||||
|
except ImportError:
|
||||||
|
from distutils.core import setup, Extension
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
try:
|
try:
|
||||||
import Cython.Compiler.Main as cython_compiler
|
import Cython.Compiler.Main as cython_compiler
|
||||||
|
|
Loading…
Reference in a new issue