<s> import os . path <EOL> import re <EOL> import warnings <EOL> import sys <EOL> try : <EOL> from setuptools import setup , find_packages <EOL> except ImportError : <EOL> from distribute_setup import use_setuptools <EOL> use_setuptools ( ) <EOL> from setuptools import setup , find_packages <EOL> version = '<STR_LIT>' <EOL> news = os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT>' , '<STR_LIT>' ) <EOL> news = open ( news ) . read ( ) <EOL> parts = re . split ( r'<STR_LIT>' , news ) <EOL> found_news = '<STR_LIT>' <EOL> for i in range ( len ( parts ) - <NUM_LIT:1> ) : <EOL> if parts [ i ] == version : <EOL> found_news = parts [ i + i ] <EOL> break <EOL> if not found_news : <EOL> warnings . warn ( '<STR_LIT>' ) <EOL> long_description = """<STR_LIT>""" <EOL> if found_news : <EOL> title = '<STR_LIT>' % version <EOL> long_description += '<STR_LIT>' % ( title , '<STR_LIT:->' * len ( title ) ) <EOL> long_description += found_news <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = version , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> license = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> long_description = long_description , <EOL> packages = find_packages ( ) , <EOL> include_package_data = True , <EOL> package_data = { '<STR_LIT>' : [ '<STR_LIT>' ] } , <EOL> install_requires = [ '<STR_LIT>' . format ( '<STR_LIT>' if sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:3> else '<STR_LIT>' ) , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ] , <EOL> tests_require = [ '<STR_LIT>' ] , <EOL> test_suite = '<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> ] , <EOL> use_2to3 = True , <EOL> zip_safe = False <EOL> ) </s>
