<s> from distutils . core import setup <EOL> import os . path <EOL> import os <EOL> from subprocess import check_output <EOL> def readfile ( filename ) : <EOL> f = open ( filename ) <EOL> text = f . read ( ) <EOL> f . close ( ) <EOL> return text <EOL> def getcommit ( ) : <EOL> retval = u'<STR_LIT>' <EOL> try : <EOL> retval = check_output ( [ u'<STR_LIT>' , u'<STR_LIT>' , u'<STR_LIT>' , u'<STR_LIT>' ] ) <EOL> retval = u'<STR_LIT:.>' + retval . strip ( ) <EOL> except : <EOL> pass <EOL> return retval <EOL> setup ( <EOL> name = u'<STR_LIT>' , <EOL> version = u'<STR_LIT:1.0>' + getcommit ( ) , <EOL> description = u'<STR_LIT>' , <EOL> long_description = readfile ( u'<STR_LIT>' ) , <EOL> author = u'<STR_LIT>' , <EOL> url = u'<STR_LIT>' , <EOL> classifiers = [ <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> u'<STR_LIT>' , <EOL> ] , <EOL> license = readfile ( u'<STR_LIT>' ) , <EOL> packages = [ '<STR_LIT>' ] , <EOL> package_dir = { '<STR_LIT>' : u'<STR_LIT>' } , <EOL> scripts = [ u'<STR_LIT>' ] <EOL> ) </s>
