<s> import os <EOL> import re <EOL> from setuptools import setup <EOL> VERSION_PATTERN = re . compile ( r'<STR_LIT>' ) <EOL> VERSION = None <EOL> def get_path ( path ) : <EOL> return os . path . join ( os . path . dirname ( __file__ ) , path ) <EOL> with open ( get_path ( '<STR_LIT>' ) , '<STR_LIT:r>' ) as f : <EOL> for line in f . readlines ( ) : <EOL> m = VERSION_PATTERN . search ( line ) <EOL> if m : <EOL> VERSION = m . group ( <NUM_LIT:1> ) <EOL> break <EOL> if VERSION is None : <EOL> raise Exception ( '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> name = '<STR_LIT>' <EOL> release = '<STR_LIT>' <EOL> versrel = VERSION + '<STR_LIT:->' + release <EOL> long_description = open ( get_path ( '<STR_LIT>' ) , '<STR_LIT:r>' ) . read ( ) <EOL> setup ( <EOL> name = name , <EOL> version = versrel , <EOL> description = '<STR_LIT>' , <EOL> long_description = long_description , <EOL> install_requires = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> maintainer = '<STR_LIT>' , <EOL> maintainer_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> license = '<STR_LIT>' , <EOL> packages = [ '<STR_LIT>' ] , <EOL> package_data = { '<STR_LIT>' : [ '<STR_LIT>' ] } , <EOL> classifiers = ( <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ) , <EOL> ) </s>
