<s> from setuptools import setup , find_packages <EOL> def read ( filename ) : <EOL> """<STR_LIT>""" <EOL> import os <EOL> here = os . path . dirname ( os . path . abspath ( __file__ ) ) <EOL> with open ( os . path . join ( here , filename ) ) as fd : <EOL> return fd . read ( ) <EOL> def find_version ( filename ) : <EOL> """<STR_LIT>""" <EOL> import re <EOL> content = read ( filename ) <EOL> version_match = re . search ( <EOL> r"<STR_LIT>" , content , re . M <EOL> ) <EOL> if version_match : <EOL> return version_match . group ( <NUM_LIT:1> ) <EOL> raise RuntimeError ( '<STR_LIT>' ) <EOL> def find_requirements ( filename ) : <EOL> """<STR_LIT>""" <EOL> import string <EOL> content = read ( filename ) <EOL> requirements = [ ] <EOL> for line in content . splitlines ( ) : <EOL> line = line . strip ( ) <EOL> if line and line [ : <NUM_LIT:1> ] in string . ascii_letters : <EOL> requirements . append ( line ) <EOL> return requirements <EOL> setup ( <EOL> name = '<STR_LIT>' , <EOL> version = find_version ( '<STR_LIT>' ) , <EOL> package_dir = { '<STR_LIT>' : '<STR_LIT>' } , <EOL> packages = find_packages ( '<STR_LIT>' ) , <EOL> install_requires = find_requirements ( '<STR_LIT>' ) , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> description = ( <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> ) , <EOL> long_description = read ( '<STR_LIT>' ) , <EOL> url = '<STR_LIT>' , <EOL> keywords = '<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> ] , <EOL> entry_points = { <EOL> '<STR_LIT>' : [ <EOL> '<STR_LIT>' <EOL> ] , <EOL> '<STR_LIT>' : [ <EOL> '<STR_LIT>' , <EOL> ] <EOL> } <EOL> ) </s>
