Module ImportFrom alias alias alias alias alias alias ImportFrom alias Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str Assign NameStore Str orelse Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Str Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad body Return NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num orelse Assign NameStore BinOpAdd Str NameLoad If Call NameLoad NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad body Expr Yield NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For NameStore NameLoad body For NameStore Call NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier Assign NameStore Call NameLoad Call NameLoad Str Str Str FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad NameLoad If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Return NameLoad Return NameLoad decorator_list Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Str Str Str Assign NameStore Call NameLoad NameLoad Str For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults ListLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad If CompareIn NameLoad NameLoad body Return NameLoad Return UnaryOpNot Call NameLoad NameLoad decorator_list Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad AugAssignAdd NameStore ListComp TupleLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Assign NameStore Str For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num If BoolOpOr CompareEq NameLoad Str CompareIn NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore ListLoad Str For NameStore AttributeLoad NameLoad attr body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str If UnaryOpNot AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body AugAssignMult NameStore Num AugAssignAdd NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str Str Str AttributeLoad NameLoad attr Assign NameStore Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Str Assign NameStore NameLoad Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Str Str If BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn AttributeLoad NameLoad attr TupleLoad Str Str body Print Str Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad Str Str keyword NameLoad Expr Call NameLoad NameLoad Str keyword NameLoad keyword NameLoad Expr Call NameLoad Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Str Str Str Str Str Call AttributeLoad Str attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Print TupleLoad Str NameLoad Str Print Str Expr Call AttributeLoad NameLoad attr Num If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad If AttributeLoad NameLoad attr body Expr Call NameLoad Str ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call NameLoad Str ListLoad Str If AttributeLoad NameLoad attr body Expr Call NameLoad Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr NameLoad Str If AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr NameLoad Str If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str TryExcept body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Print TupleLoad Str NameLoad Print Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults NameLoad body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call NameLoad NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad If AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Global identifier AugAssignAdd NameStore ListLoad Str Str If AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr NameStore body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr BoolOpAnd Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore NameLoad If AttributeLoad NameLoad attr body With Call NameLoad AttributeLoad NameLoad attr NameStore body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr BoolOpAnd Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str Global identifier AugAssignAdd NameStore NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A os.path dirname join isfile realpath relpath split zipfile ZipFile N/A sys N/A N/A N/A N/A sys path insert 0 buildlib/jinja2.egg N/A N/A N/A N/A sys path insert 0 buildlib fnmatch fnmatch N/A tarfile N/A os N/A shutil N/A subprocess N/A time N/A jinja2 N/A N/A N/A os name nt N/A N/A ANDROID android.bat N/A ANT ant.bat N/A N/A ANDROID android N/A ANT ant N/A ANDROIDSDK N/A N/A N/A os environ get ANDROIDSDK N/A ANDROIDSDK N/A N/A ANDROID N/A N/A N/A os path join ANDROIDSDK tools ANDROID N/A curdir N/A dirname __file__ N/A PYTHON N/A join curdir python-install bin python.host N/A BLACKLIST_PATTERNS N/A ^*.hg/* ^*.git/* ^*.bzr/* ^*.svn/* *.pyc *.py ~ *.bak *.swp N/A WHITELIST_PATTERNS N/A N/A python_files N/A N/A environment N/A N/A jinja2 Environment loader N/A N/A jinja2 FileSystemLoader N/A join curdir templates render N/A N/A template dest N/A kwargs N/A N/A Using jinja2, render `template` to the filename `dest`, supplying the

    keyword arguments as template parameters.
     N/A template N/A N/A environment get_template template N/A text N/A N/A template render kwargs N/A f N/A open dest wb N/A N/A N/A f write N/A N/A text encode utf-8 N/A N/A N/A f close N/A compile_dir N/A N/A dfn N/A N/A N/A 
    Compile *.py in directory `dfn` to *.pyo
     N/A N/A N/A subprocess call N/A PYTHON -OO -m compileall -f dfn N/A is_whitelist N/A N/A name N/A N/A N/A N/A match_filename WHITELIST_PATTERNS name N/A is_blacklist N/A N/A name N/A N/A N/A N/A is_whitelist name N/A N/A False N/A N/A match_filename BLACKLIST_PATTERNS name N/A match_filename N/A N/A pattern_list name N/A N/A N/A pattern pattern_list N/A N/A N/A N/A pattern startswith ^ N/A N/A pattern N/A pattern N/A 1 N/A N/A pattern N/A */ pattern N/A N/A fnmatch name pattern N/A N/A True N/A listfiles N/A N/A d N/A N/A N/A basedir d N/A subdirlist N/A N/A item N/A N/A os listdir d N/A N/A fn N/A join d item N/A N/A isfile fn N/A N/A N/A fn N/A N/A N/A N/A subdirlist append N/A N/A N/A os path join basedir item N/A subdir subdirlist N/A N/A fn N/A listfiles subdir N/A N/A N/A fn N/A make_pythonzip N/A N/A N/A N/A N/A 
    Search for all the python related files, and construct the pythonXX.zip
    According to
    # http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html
    site-packages, config and lib-dynload will be not included.
     N/A python_files N/A d N/A realpath N/A join private lib python2.7 select N/A N/A fn N/A N/A N/A N/A is_blacklist fn N/A N/A False N/A fn N/A realpath fn N/A N/A N/A fn startswith d N/A fn N/A fn N/A N/A len d N/A N/A N/A N/A fn startswith /site-packages/ N/A N/A fn startswith /config/ N/A N/A fn startswith /lib-dynload/ N/A N/A fn startswith /libpymodules.so N/A N/A False N/A fn N/A N/A python_files N/A x N/A x N/A listfiles d N/A select x N/A zfn N/A join private lib python27.zip N/A zf N/A ZipFile zfn w N/A fn python_files N/A N/A afn N/A fn N/A N/A len d N/A N/A N/A zf write fn afn N/A N/A N/A zf close N/A make_tar N/A N/A tfn source_dirs ignore_path N/A N/A N/A N/A 
    Make a zip file `fn` from the contents of source_dis.
     select N/A N/A fn N/A N/A N/A rfn N/A realpath fn N/A p ignore_path N/A N/A N/A N/A p endswith / N/A N/A p N/A p N/A -1 N/A N/A N/A rfn startswith p N/A N/A False N/A N/A rfn python_files N/A N/A False N/A N/A N/A is_blacklist fn N/A N/A files N/A N/A sd source_dirs N/A N/A sd N/A realpath sd N/A N/A compile_dir sd N/A files N/A N/A x N/A relpath N/A realpath x sd N/A x N/A listfiles sd N/A select x N/A tf N/A N/A tarfile open tfn w:gz format N/A tarfile USTAR_FORMAT N/A dirs N/A N/A N/A fn afn files N/A N/A dn N/A dirname afn N/A N/A dn dirs N/A N/A d N/A component N/A split dn N/A N/A d N/A join d component N/A N/A N/A d startswith / N/A N/A d N/A d N/A 1 N/A N/A N/A d N/A d dirs N/A N/A N/A N/A N/A dirs append d N/A tinfo N/A N/A tarfile TarInfo d N/A N/A tinfo type N/A tarfile DIRTYPE N/A N/A N/A tf addfile tinfo N/A N/A N/A tf add fn afn N/A N/A N/A tf close N/A make_package N/A N/A args N/A N/A N/A version_code 0 N/A manifest_extra N/A <uses-feature android:glEsVersion="0x00020000" /> N/A filename N/A args manifest_extra N/A N/A N/A open filename r fd N/A N/A content N/A N/A fd read N/A N/A N/A manifest_extra append content N/A manifest_extra N/A N/A join manifest_extra N/A url_scheme kivy N/A default_icon templates/kivy-icon.png N/A default_presplash templates/kivy-presplash.jpg N/A default_ouya_icon templates/kivy-ouya-icon.png N/A N/A N/A args numeric_version N/A N/A i N/A N/A N/A args version split . N/A N/A version_code 100 N/A version_code N/A int i N/A N/A args numeric_version N/A str version_code N/A versioned_name N/A N/A N/A N/A N/A N/A N/A args name replace replace ' - N/A args version N/A build_tpl build.xml N/A N/A N/A args icon_name N/A N/A N/A args icon_name N/A args name N/A N/A args name N/A N/A N/A args name replace ' \' N/A N/A args icon_name N/A N/A N/A args icon_name replace ' \' N/A private_version N/A str N/A N/A time time N/A N/A args dir N/A N/A public_version private_version N/A N/A public_version None N/A N/A args intent_filters N/A N/A intent_filters N/A N/A N/A open N/A args intent_filters read N/A N/A intent_filters N/A service False N/A directory N/A public_version N/A args dir N/A args private N/A directory N/A N/A service_main N/A join N/A realpath directory service main.py N/A N/A N/A N/A N/A os path exists service_main N/A N/A N/A os path exists N/A service_main o N/A N/A service True N/A N/A args ouya_category N/A N/A N/A args ouya_category N/A N/A N/A args ouya_category upper N/A N/A N/A args ouya_category N/A GAME APP N/A N/A Invalid --ouya-category argument. should be one ofGAME or APP N/A N/A N/A sys exit -1 N/A N/A render AndroidManifest.tmpl.xml AndroidManifest.xml args args service service url_scheme url_scheme intent_filters intent_filters manifest_extra manifest_extra N/A N/A render Configuration.tmpl.java src/org/renpy/android/Configuration.java args args N/A N/A render build_tpl build.xml args args versioned_name versioned_name N/A N/A render strings.xml res/values/strings.xml public_version public_version private_version private_version url_scheme url_scheme args args N/A N/A N/A N/A N/A subprocess call N/A ANDROID update project -p . -t N/A N/A android-{} format N/A args sdk_version N/A N/A N/A N/A OSError IOError N/A N/A N/A An error occured while calling ANDROID update N/A Your PATH must include android tools. N/A N/A N/A sys exit -1 N/A N/A N/A N/A os path exists assets/public.mp3 N/A N/A N/A N/A os unlink assets/public.mp3 N/A N/A N/A N/A os path exists assets/private.mp3 N/A N/A N/A N/A os unlink assets/private.mp3 N/A N/A make_pythonzip N/A N/A args private N/A N/A N/A make_tar assets/private.mp3 N/A private N/A args private N/A args ignore_path N/A N/A N/A make_tar assets/private.mp3 N/A private N/A N/A args dir N/A N/A N/A make_tar assets/public.mp3 N/A N/A args dir N/A args ignore_path N/A N/A N/A shutil copy N/A N/A args icon default_icon res/drawable/icon.png N/A N/A N/A shutil copy N/A N/A args presplash default_presplash res/drawable/presplash.jpg N/A N/A args ouya_category N/A N/A N/A N/A N/A N/A os path isdir res/drawable-xhdpi N/A N/A N/A N/A os mkdir res/drawable-xhdpi N/A N/A N/A shutil copy N/A N/A args ouya_icon default_ouya_icon res/drawable-xhdpi/ouya_icon.png N/A N/A args add_jar N/A N/A jarname N/A args add_jar N/A N/A N/A N/A N/A N/A os path exists jarname N/A N/A N/A N/A Requested jar does not exist: {} format jarname N/A N/A N/A sys exit -1 N/A N/A N/A shutil copy jarname libs N/A N/A N/A arg N/A args command N/A N/A N/A N/A subprocess check_call N/A ANT arg N/A N/A N/A N/A OSError IOError N/A N/A N/A An error occured while calling ANT N/A Did you install ant on your system ? N/A N/A N/A sys exit -1 N/A parse_args N/A N/A args N/A None N/A N/A argparse N/A android_api N/A N/A N/A os environ get ANDROIDAPI 8 N/A ap N/A N/A argparse ArgumentParser description Package a Python application for Android.

For this to work, Java and Ant need to be in your path, as does the
tools directory of the Android SDK.
 N/A N/A N/A ap add_argument --package dest package help The name of the java package the project will be packaged under. required True N/A N/A N/A ap add_argument --name dest name help The human-readable name of the project. required True N/A N/A N/A ap add_argument --version dest version help The version number of the project. This should consist of numbers and dots, and should have the same number of groups of numbers as previous versions. required True N/A N/A N/A ap add_argument --numeric-version dest numeric_version help The numeric version number of the project. If not given, this is automatically computed from the version. N/A N/A N/A ap add_argument --dir dest dir help The directory containing public files for the project. N/A N/A N/A ap add_argument --private dest private help The directory containing additional private files for the project. N/A N/A N/A ap add_argument --launcher dest launcher action store_true help Provide this argument to build a multi-app launcher, rather than a single app. N/A N/A N/A ap add_argument --icon-name dest icon_name help The name of the project's launcher icon. N/A N/A N/A ap add_argument --orientation dest orientation default landscape help The orientation that the game will display in. Usually one of "landscape", "portrait" or "sensor" N/A N/A N/A ap add_argument --permission dest permissions action append help The permissions to give this app. N/A N/A N/A ap add_argument --ignore-path dest ignore_path action append help Ignore path when building the app N/A N/A N/A ap add_argument --icon dest icon help A png file to use as the icon for the application. N/A N/A N/A ap add_argument --presplash dest presplash help A jpeg file to use as a screen while the application is loading. N/A N/A N/A ap add_argument --ouya-category dest ouya_category help Valid values are GAME and APP. This must be specified to enable OUYA console support. N/A N/A N/A ap add_argument --ouya-icon dest ouya_icon help A png file to use as the icon for the application if it is installed on an OUYA console. N/A N/A N/A ap add_argument --install-location dest install_location default auto help The default install location. Should be "auto", "preferExternal" or "internalOnly". N/A N/A N/A ap add_argument --compile-pyo dest compile_pyo action store_true help Compile all .py files to .pyo, and only distribute the compiled bytecode. N/A N/A N/A ap add_argument --intent-filters dest intent_filters help Add intent-filters xml rules to the AndroidManifest.xml file. The argument is a filename containing xml. The filename should be located relative to the python-for-android directory N/A N/A N/A ap add_argument --with-billing dest billing_pubkey help If set, the billing service will be added N/A N/A N/A ap add_argument --blacklist dest blacklist default N/A join curdir blacklist.txt help Use a blacklist file to match unwanted file in the final APK N/A N/A N/A ap add_argument --whitelist dest whitelist default N/A join curdir whitelist.txt help Use a whitelist file to prevent blacklisting of file in the final APK N/A N/A N/A ap add_argument --sdk dest sdk_version default android_api help Android SDK version to use. Default to 8 N/A N/A N/A ap add_argument --minsdk dest min_sdk_version default android_api type int help Minimum Android SDK version to use. Default to 8 N/A N/A N/A ap add_argument --window dest window action store_true help Indicate if the application will be windowed N/A N/A N/A ap add_argument --wakelock dest wakelock action store_true help Indicate if the application needs the device to stay on N/A N/A N/A ap add_argument command nargs * help The command to pass to ant (debug, release, installd, installr) N/A N/A N/A ap add_argument --add-jar dest add_jar action append help Add a Java .jar to the libs, so you can access its classes with pyjnius. You can specify this argument more than once to include multiple jars N/A N/A N/A ap add_argument --meta-data dest meta_data action append help Custom key=value to add in application metadata N/A N/A N/A ap add_argument --resource dest resource action append help Custom key=value to add in strings.xml resource file N/A N/A N/A ap add_argument --manifest-extra dest manifest_extra action append help Custom file to add at the end of the manifest N/A N/A args None N/A N/A args N/A N/A sys argv N/A 1 N/A args N/A N/A ap parse_args args N/A N/A N/A N/A args dir N/A N/A args private N/A N/A args launcher N/A N/A N/A N/A ap error One of --dir, --private, or --launcher must be supplied. N/A N/A N/A args permissions None N/A N/A N/A args permissions N/A N/A N/A N/A args ignore_path None N/A N/A N/A args ignore_path N/A N/A N/A N/A args meta_data None N/A N/A N/A args meta_data N/A N/A N/A N/A args resource None N/A N/A N/A args resource N/A N/A N/A N/A args manifest_extra None N/A N/A N/A args manifest_extra N/A N/A N/A args compile_pyo N/A N/A N/A PYTHON None N/A N/A N/A N/A ap error To use --compile-pyo, you need Python 2.7.1 installed and in your PATH. N/A BLACKLIST_PATTERNS N/A BLACKLIST_PATTERNS N/A *.py *.pyc N/A N/A args blacklist N/A N/A N/A open N/A args blacklist fd N/A N/A patterns N/A N/A N/A x strip N/A x N/A N/A N/A N/A fd read splitlines N/A N/A N/A x strip N/A N/A N/A x startswith # N/A BLACKLIST_PATTERNS patterns N/A N/A args whitelist N/A N/A N/A open N/A args whitelist fd N/A N/A patterns N/A N/A N/A x strip N/A x N/A N/A N/A N/A fd read splitlines N/A N/A N/A x strip N/A N/A N/A x startswith # N/A WHITELIST_PATTERNS N/A WHITELIST_PATTERNS patterns N/A N/A make_package args N/A args N/A N/A N/A __name__ __main__ N/A N/A N/A parse_args