<s> import os <EOL> import sys <EOL> import re <EOL> from setuptools import setup , find_packages <EOL> version = re . compile ( r'<STR_LIT>' ) <EOL> def get_package_version ( ) : <EOL> "<STR_LIT>" <EOL> base = os . path . abspath ( os . path . dirname ( __file__ ) ) <EOL> with open ( os . path . join ( base , "<STR_LIT>" ) ) as initf : <EOL> for line in initf : <EOL> m = version . match ( line . strip ( ) ) <EOL> if not m : <EOL> continue <EOL> return "<STR_LIT:.>" . join ( m . groups ( ) [ <NUM_LIT:0> ] . split ( "<STR_LIT:U+002CU+0020>" ) ) <EOL> install_requires = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> dependency_links = [ ] <EOL> if sys . version_info [ <NUM_LIT:0> ] >= <NUM_LIT:3> : <EOL> dependency_links . append ( <EOL> '<STR_LIT>' <EOL> ) <EOL> install_requires . append ( '<STR_LIT>' ) <EOL> else : <EOL> install_requires . append ( '<STR_LIT>' ) <EOL> classes = """<STR_LIT>""" <EOL> classifiers = [ s . strip ( ) for s in classes . split ( '<STR_LIT:\n>' ) if s ] <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = get_package_version ( ) , <EOL> description = '<STR_LIT>' , <EOL> long_description = open ( '<STR_LIT>' ) . read ( ) , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> license = '<STR_LIT>' , <EOL> classifiers = classifiers , <EOL> packages = find_packages ( exclude = [ '<STR_LIT>' , '<STR_LIT>' ] ) , <EOL> dependency_links = dependency_links , <EOL> install_requires = install_requires , <EOL> extras_require = { <EOL> '<STR_LIT>' : [ "<STR_LIT>" ] <EOL> } , <EOL> entry_points = { <EOL> '<STR_LIT>' : [ <EOL> '<STR_LIT>' , <EOL> ] <EOL> } , <EOL> ) </s>
