<s> import re <EOL> import sys <EOL> from setuptools import setup <EOL> from setuptools . command . test import test as TestCommand <EOL> TESTS_REQUIRE = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> class PyTest ( TestCommand ) : <EOL> def finalize_options ( self ) : <EOL> TestCommand . finalize_options ( self ) <EOL> self . test_args = [ '<STR_LIT>' ] <EOL> self . test_suite = True <EOL> def run_tests ( self ) : <EOL> import pytest <EOL> errcode = pytest . main ( self . test_args ) <EOL> sys . exit ( errcode ) <EOL> def find_version ( fname ) : <EOL> """<STR_LIT>""" <EOL> version = '<STR_LIT>' <EOL> with open ( fname , '<STR_LIT:r>' ) as fp : <EOL> reg = re . compile ( r'<STR_LIT>' ) <EOL> for line in fp : <EOL> m = reg . match ( line ) <EOL> if m : <EOL> version = m . group ( <NUM_LIT:1> ) <EOL> break <EOL> if not version : <EOL> raise RuntimeError ( '<STR_LIT>' ) <EOL> return version <EOL> __version__ = find_version ( "<STR_LIT>" ) <EOL> def read ( fname ) : <EOL> with open ( fname ) as fp : <EOL> content = fp . read ( ) <EOL> return content <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = __version__ , <EOL> description = ( '<STR_LIT>' <EOL> '<STR_LIT>' ) , <EOL> long_description = ( read ( '<STR_LIT>' ) + '<STR_LIT>' + <EOL> read ( '<STR_LIT>' ) ) , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> install_requires = [ ] , <EOL> license = read ( "<STR_LIT>" ) , <EOL> zip_safe = False , <EOL> keywords = '<STR_LIT>' , <EOL> classifiers = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> py_modules = [ '<STR_LIT>' , '<STR_LIT>' ] , <EOL> entry_points = { <EOL> '<STR_LIT>' : [ <EOL> "<STR_LIT>" <EOL> ] <EOL> } , <EOL> tests_require = TESTS_REQUIRE , <EOL> cmdclass = { '<STR_LIT:test>' : PyTest } <EOL> ) </s>
