<s> from distutils . core import setup <EOL> from distutils . extension import Extension <EOL> import re <EOL> def get_cython_version ( ) : <EOL> """<STR_LIT>""" <EOL> import Cython . Compiler . Main <EOL> match = re . search ( '<STR_LIT>' , <EOL> Cython . Compiler . Main . Version . version ) <EOL> try : <EOL> return map ( int , match . groups ( ) ) <EOL> except AttributeError : <EOL> raise ImportError <EOL> try : <EOL> cython_version = get_cython_version ( ) <EOL> if cython_version [ <NUM_LIT:0> ] == <NUM_LIT:0> and cython_version [ <NUM_LIT:1> ] < <NUM_LIT> : <EOL> raise ImportError <EOL> from Cython . Distutils import build_ext <EOL> source_ext = '<STR_LIT>' <EOL> cmdclass = { '<STR_LIT>' : build_ext } <EOL> except ImportError : <EOL> source_ext = '<STR_LIT>' <EOL> cmdclass = { } <EOL> ext_modules = [ Extension ( "<STR_LIT>" , [ "<STR_LIT>" + source_ext ] , <EOL> libraries = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] , <EOL> runtime_library_dirs = [ '<STR_LIT>' , <EOL> ] , <EOL> extra_compile_args = [ <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' <EOL> ] ) ] <EOL> setup ( name = '<STR_LIT>' , <EOL> cmdclass = cmdclass , <EOL> ext_modules = ext_modules ) </s>
