<s> import distutils . core <EOL> import os <EOL> import sys <EOL> from twork_app . version import __VERSION__ <EOL> if os . environ . get ( '<STR_LIT>' , '<STR_LIT>' ) : <EOL> """<STR_LIT>""" <EOL> del os . link <EOL> def _setup ( ) : <EOL> kwargs = { } <EOL> major , minor = sys . version_info [ : <NUM_LIT:2> ] <EOL> python_26 = ( major > <NUM_LIT:2> or ( major == <NUM_LIT:2> and minor >= <NUM_LIT:6> ) ) <EOL> try : <EOL> import setuptools <EOL> except ImportError : <EOL> pass <EOL> if major >= <NUM_LIT:3> : <EOL> import setuptools <EOL> kwargs [ "<STR_LIT>" ] = True <EOL> distutils . core . setup ( <EOL> name = "<STR_LIT>" , <EOL> version = __VERSION__ , <EOL> author = "<STR_LIT>" , <EOL> author_email = "<STR_LIT>" , <EOL> url = "<STR_LIT>" , <EOL> license = "<STR_LIT>" , <EOL> description = "<STR_LIT>" , <EOL> packages = setuptools . find_packages ( exclude = [ "<STR_LIT:test>" , "<STR_LIT>" ] ) , <EOL> package_data = { <EOL> } , <EOL> install_requires = [ '<STR_LIT>' , '<STR_LIT>' ] , <EOL> ** kwargs <EOL> ) <EOL> def main ( ) : <EOL> if len ( sys . argv ) > <NUM_LIT:1> : <EOL> if sys . argv [ <NUM_LIT:1> ] == '<STR_LIT>' : <EOL> os . system ( '<STR_LIT>' ) <EOL> sys . exit ( ) <EOL> elif sys . argv [ <NUM_LIT:1> ] == '<STR_LIT>' : <EOL> if len ( sys . argv ) < <NUM_LIT:3> : <EOL> type_ = '<STR_LIT>' <EOL> else : <EOL> type_ = sys . argv [ <NUM_LIT:2> ] <EOL> assert type_ in ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> os . system ( '<STR_LIT>' <EOL> . format ( __VERSION__ , type_ ) ) <EOL> sys . exit ( ) <EOL> _setup ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
