cChardet/setup.py
2012-06-20 21:45:57 +09:00

19 lines
No EOL
516 B
Python

from distutils.core import setup, Extension
import platform,os,sys
from Cython.Distutils import build_ext # use cython's buld_ext
setup(
name = 'cchardet',
url = r"https://github.com/PyYoshi/cChardet",
description = 'Universal encoding detector',
version = '0.1',
cmdclass = {'build_ext': build_ext},
ext_modules = [
Extension("cchardet",
sources = ["cchardet.pyx"],
libraries=['charsetdetect'],
language="c",
),
]
)