<s> from __future__ import with_statement , print_function <EOL> try : <EOL> import multiprocessing <EOL> except ImportError : <EOL> pass <EOL> import os <EOL> import sys <EOL> from setuptools import setup , find_packages <EOL> from setuptools . command . test import test as TestCommand <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> cmdclass = { } <EOL> cmdclass [ '<STR_LIT:test>' ] = PyTest <EOL> try : <EOL> from wheel . bdist_wheel import bdist_wheel <EOL> REPLACE = ( <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> ) <EOL> class _bdist_wheel ( bdist_wheel ) : <EOL> def get_tag ( self ) : <EOL> tag = bdist_wheel . get_tag ( self ) <EOL> if tag [ <NUM_LIT:2> ] == '<STR_LIT>' : <EOL> tag = ( tag [ <NUM_LIT:0> ] , tag [ <NUM_LIT:1> ] , REPLACE ) <EOL> return tag <EOL> cmdclass [ '<STR_LIT>' ] = _bdist_wheel <EOL> except ImportError : <EOL> pass <EOL> readme = '<STR_LIT>' <EOL> if os . path . exists ( '<STR_LIT>' ) : <EOL> readme = '<STR_LIT>' <EOL> with open ( readme , '<STR_LIT:rb>' ) as f : <EOL> long_description = f . read ( ) . decode ( '<STR_LIT:utf-8>' ) <EOL> with open ( '<STR_LIT>' ) as f : <EOL> requirements = [ l for l in f . read ( ) . splitlines ( ) if l ] <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = '<STR_LIT>' , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> packages = find_packages ( ) , <EOL> keywords = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> long_description = long_description , <EOL> install_requires = requirements , <EOL> include_package_data = True , <EOL> tests_require = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> cmdclass = cmdclass , <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> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> extras_require = { <EOL> '<STR_LIT>' : [ '<STR_LIT>' ] , <EOL> '<STR_LIT>' : [ '<STR_LIT>' ] , <EOL> } <EOL> ) </s>
