<s> import os <EOL> import sys <EOL> from setuptools import setup , find_packages <EOL> from setuptools . command . test import test as TestCommand <EOL> BASE_PATH = os . path . abspath ( os . path . dirname ( __file__ ) ) <EOL> README = open ( os . path . join ( BASE_PATH , '<STR_LIT>' ) ) . read ( ) <EOL> CHANGES = open ( os . path . join ( BASE_PATH , '<STR_LIT>' ) ) . read ( ) <EOL> __version__ = '<STR_LIT>' <EOL> __author__ = '<STR_LIT>' <EOL> __author_email__ = '<STR_LIT>' <EOL> __license__ = '<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> ) <EOL> class PyTest ( TestCommand ) : <EOL> user_options = [ ( '<STR_LIT>' , '<STR_LIT:a>' , "<STR_LIT>" ) ] <EOL> def initialize_options ( self ) : <EOL> TestCommand . initialize_options ( self ) <EOL> self . pytest_args = [ ] <EOL> def finalize_options ( self ) : <EOL> TestCommand . finalize_options ( self ) <EOL> self . test_args = [ ] <EOL> self . test_suite = True <EOL> def run_tests ( self ) : <EOL> import pytest <EOL> errno = pytest . main ( self . pytest_args ) <EOL> sys . exit ( errno ) <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = __version__ , <EOL> author = __author__ , <EOL> author_email = __author_email__ , <EOL> url = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> long_description = README + '<STR_LIT>' + CHANGES , <EOL> classifiers = __classifiers__ , <EOL> packages = find_packages ( exclude = [ '<STR_LIT>' ] ) , <EOL> keywords = '<STR_LIT>' , <EOL> license = __license__ , <EOL> include_package_data = True , <EOL> test_suite = '<STR_LIT>' , <EOL> tests_require = [ '<STR_LIT>' ] , <EOL> cmdclass = { '<STR_LIT:test>' : PyTest } , <EOL> ) </s>
