<s> from setuptools import setup <EOL> from setuptools . command . test import test as TestCommand <EOL> import os <EOL> import ast <EOL> def parse_vesrion ( ) : <EOL> cwd = os . path . dirname ( __name__ ) <EOL> version_file = os . path . join ( cwd , '<STR_LIT>' , '<STR_LIT>' ) <EOL> tree = ast . parse ( open ( version_file ) . read ( ) ) <EOL> expr , = tree . body <EOL> return expr . value . s <EOL> class PyTest ( TestCommand ) : <EOL> def finalize_options ( self ) : <EOL> self . test_args = [ ] <EOL> self . test_suite = True <EOL> def run_tests ( self ) : <EOL> import sys <EOL> import pytest <EOL> sys . exit ( pytest . main ( [ '<STR_LIT:.>' ] ) ) <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = parse_vesrion ( ) , <EOL> description = '<STR_LIT>' , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> license = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> packages = [ '<STR_LIT>' ] , <EOL> tests_require = [ '<STR_LIT>' ] , <EOL> cmdclass = { '<STR_LIT:test>' : PyTest } , <EOL> install_requires = [ '<STR_LIT>' , '<STR_LIT>' ] , <EOL> platforms = [ '<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> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> entry_points = { '<STR_LIT>' : [ '<STR_LIT>' ] } , <EOL> ) </s>
