Do not call use_setuptools

This commit is contained in:
asapo 2013-06-09 19:37:34 +09:00
parent 04cca8ba98
commit c7169820a2

View file

@ -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
@ -93,4 +96,4 @@ This library is faster than chardet.
ext_modules = [ ext_modules = [
cchardet_module cchardet_module
], ],
) )