<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import , unicode_literals , with_statement <EOL> import sys <EOL> from setuptools import setup <EOL> from setuptools . command . test import test as TestCommand <EOL> class PyTest ( TestCommand ) : <EOL> """<STR_LIT>""" <EOL> user_options = [ ] <EOL> def initialize_options ( self ) : <EOL> """<STR_LIT>""" <EOL> TestCommand . initialize_options ( self ) <EOL> self . pytest_args = [ ] <EOL> def run_tests ( self ) : <EOL> """<STR_LIT>""" <EOL> import pytest <EOL> errno = pytest . main ( self . pytest_args ) <EOL> sys . exit ( errno ) <EOL> def get_version ( fname = '<STR_LIT>' ) : <EOL> """<STR_LIT>""" <EOL> with open ( fname ) as f : <EOL> for line in f : <EOL> if line . startswith ( '<STR_LIT>' ) : <EOL> return eval ( line . split ( '<STR_LIT:=>' ) [ - <NUM_LIT:1> ] ) <EOL> def get_long_description ( ) : <EOL> """<STR_LIT>""" <EOL> descr = [ ] <EOL> for fname in ( '<STR_LIT>' , ) : <EOL> with open ( fname ) as f : <EOL> descr . append ( f . read ( ) ) <EOL> return '<STR_LIT>' . join ( descr ) <EOL> extras = { <EOL> '<STR_LIT>' : [ '<STR_LIT>' ] , <EOL> } <EOL> tests_require = [ '<STR_LIT>' ] <EOL> if sys . version_info < ( <NUM_LIT:3> , <NUM_LIT:3> ) : <EOL> tests_require . append ( '<STR_LIT>' ) <EOL> if sys . version_info < ( <NUM_LIT:2> , <NUM_LIT:7> ) : <EOL> tests_require . append ( '<STR_LIT>' ) <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = get_version ( ) , <EOL> description = '<STR_LIT>' , <EOL> long_description = get_long_description ( ) , <EOL> keywords = '<STR_LIT>' , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> install_requires = [ <EOL> '<STR_LIT>' , <EOL> ] , <EOL> extras_require = extras , <EOL> license = '<STR_LIT>' , <EOL> packages = [ str ( '<STR_LIT>' ) ] , <EOL> zip_safe = False , <EOL> entry_points = { <EOL> '<STR_LIT>' : [ <EOL> '<STR_LIT>' , <EOL> ] , <EOL> } , <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> ] , <EOL> tests_require = tests_require , <EOL> cmdclass = { '<STR_LIT:test>' : PyTest } , <EOL> ) </s>
