<s> import sys <EOL> import os <EOL> try : <EOL> from setuptools import setup , find_packages <EOL> except ImportError : <EOL> from distutils . core import setup <EOL> from distutils . util import convert_path <EOL> def _find_packages ( where = '<STR_LIT:.>' , exclude = ( ) ) : <EOL> """<STR_LIT>""" <EOL> out = [ ] <EOL> stack = [ ( convert_path ( where ) , '<STR_LIT>' ) ] <EOL> while stack : <EOL> where , prefix = stack . pop ( <NUM_LIT:0> ) <EOL> for name in os . listdir ( where ) : <EOL> fn = os . path . join ( where , name ) <EOL> if ( '<STR_LIT:.>' not in name and os . path . isdir ( fn ) and <EOL> os . path . isfile ( os . path . join ( fn , '<STR_LIT>' ) ) ) : <EOL> out . append ( prefix + name ) <EOL> stack . append ( ( fn , prefix + name + '<STR_LIT:.>' ) ) <EOL> for pat in list ( exclude ) + [ '<STR_LIT>' , '<STR_LIT>' ] : <EOL> from fnmatch import fnmatchcase <EOL> out = [ item for item in out if not fnmatchcase ( item , pat ) ] <EOL> return out <EOL> find_packages = _find_packages <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = '<STR_LIT>' , <EOL> packages = find_packages ( '<STR_LIT:.>' , exclude = ( '<STR_LIT>' , ) ) , <EOL> description = '<STR_LIT>' , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> download_url = '<STR_LIT>' , <EOL> license = "<STR_LIT>" , <EOL> keywords = [ "<STR_LIT>" , "<STR_LIT>" ] , <EOL> classifiers = [ <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" <EOL> ] , <EOL> package_data = { '<STR_LIT>' : [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] } , <EOL> include_package_data = True , <EOL> entry_points = { <EOL> '<STR_LIT>' : [ <EOL> '<STR_LIT>' <EOL> ] <EOL> } , <EOL> install_requires = [ '<STR_LIT>' ] <EOL> ) </s>
