<s> import os <EOL> from setuptools import setup , find_packages , Command <EOL> import subprocess <EOL> VERSION = '<STR_LIT>' <EOL> FULLVERSION = VERSION <EOL> write_version = True <EOL> try : <EOL> pipe = subprocess . Popen ( [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] , <EOL> stdout = subprocess . PIPE ) <EOL> ( so , serr ) = pipe . communicate ( ) <EOL> if pipe . returncode == <NUM_LIT:0> : <EOL> FULLVERSION += "<STR_LIT>" % so . strip ( ) . decode ( "<STR_LIT:utf-8>" ) <EOL> except : <EOL> pass <EOL> if write_version : <EOL> txt = "<STR_LIT>" + ( "<STR_LIT:->" * <NUM_LIT> ) + "<STR_LIT:\n>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" <EOL> txt += "<STR_LIT>" + ( "<STR_LIT:->" * <NUM_LIT> ) + "<STR_LIT:\n>" <EOL> txt += "<STR_LIT>" <EOL> fname = os . path . join ( os . path . dirname ( __file__ ) , '<STR_LIT>' , '<STR_LIT>' ) <EOL> a = open ( fname , '<STR_LIT:w>' ) <EOL> try : <EOL> a . write ( txt % ( "<STR_LIT>" , FULLVERSION , VERSION ) ) <EOL> finally : <EOL> a . close ( ) <EOL> setup ( name = '<STR_LIT>' , <EOL> version = VERSION , <EOL> description = "<STR_LIT>" , <EOL> long_description = open ( '<STR_LIT>' ) . read ( ) , <EOL> author = '<STR_LIT>' , <EOL> author_email = '<STR_LIT>' , <EOL> url = '<STR_LIT>' , <EOL> license = '<STR_LIT>' , <EOL> scripts = [ '<STR_LIT>' , '<STR_LIT>' ] , <EOL> packages = find_packages ( exclude = [ "<STR_LIT>" ] ) , <EOL> package_data = { '<STR_LIT>' : [ '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ] } , <EOL> classifiers = [ '<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> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' + <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ] ) </s>
