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