<s> """<STR_LIT>""" <EOL> import os <EOL> import sys <EOL> if sys . version_info < ( <NUM_LIT:2> , <NUM_LIT:6> ) : <EOL> print >> sys . stderr , "<STR_LIT>" <EOL> sys . exit ( <NUM_LIT:3> ) <EOL> if os . path . exists ( '<STR_LIT>' ) : <EOL> sys . path . insert ( <NUM_LIT:0> , '<STR_LIT:.>' ) <EOL> from twisted import copyright <EOL> from twisted . python . dist import setup , ConditionalExtension as Extension <EOL> from twisted . python . dist import getPackages , getDataFiles , getScripts <EOL> from twisted . python . dist import twisted_subprojects , _isCPython <EOL> extensions = [ <EOL> Extension ( "<STR_LIT>" , <EOL> [ "<STR_LIT>" ] , <EOL> condition = lambda _ : _isCPython ) , <EOL> Extension ( "<STR_LIT>" , <EOL> [ "<STR_LIT>" , <EOL> "<STR_LIT>" ] , <EOL> libraries = [ "<STR_LIT>" ] , <EOL> condition = lambda _ : _isCPython and sys . platform == "<STR_LIT:win32>" ) , <EOL> Extension ( "<STR_LIT>" , <EOL> sources = [ "<STR_LIT>" ] , <EOL> condition = lambda _ : sys . platform != "<STR_LIT:win32>" ) , <EOL> ] <EOL> if sys . version_info [ : <NUM_LIT:2> ] <= ( <NUM_LIT:2> , <NUM_LIT:6> ) : <EOL> extensions . append ( <EOL> Extension ( <EOL> "<STR_LIT>" , <EOL> [ "<STR_LIT>" ] ) ) <EOL> subProjectsPlugins = [ '<STR_LIT>' % subProject <EOL> for subProject in twisted_subprojects ] <EOL> plugins = os . listdir ( os . path . join ( <EOL> os . path . dirname ( os . path . abspath ( copyright . __file__ ) ) , '<STR_LIT>' ) ) <EOL> plugins = [ plugin [ : - <NUM_LIT:3> ] for plugin in plugins if plugin . endswith ( '<STR_LIT>' ) and <EOL> plugin not in subProjectsPlugins ] <EOL> setup_args = dict ( <EOL> name = "<STR_LIT>" , <EOL> version = copyright . version , <EOL> description = "<STR_LIT>" , <EOL> author = "<STR_LIT>" , <EOL> author_email = "<STR_LIT>" , <EOL> maintainer = "<STR_LIT>" , <EOL> url = "<STR_LIT>" , <EOL> license = "<STR_LIT>" , <EOL> long_description = """<STR_LIT>""" , <EOL> packages = getPackages ( '<STR_LIT>' , <EOL> ignore = twisted_subprojects + [ '<STR_LIT>' ] ) , <EOL> plugins = plugins , <EOL> data_files = getDataFiles ( '<STR_LIT>' , ignore = twisted_subprojects ) , <EOL> conditionalExtensions = extensions , <EOL> scripts = getScripts ( "<STR_LIT>" ) , <EOL> ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> setup ( ** setup_args ) </s>
