Advertisement
Guest User

Untitled

a guest
Jul 25th, 2019
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.02 KB | None | 0 0
  1. [app]
  2.  
  3. # (str) Title of your application
  4. title = My Application
  5.  
  6. # (str) Package name
  7. package.name = myapp
  8.  
  9. # (str) Package domain (needed for android/ios packaging)
  10. package.domain = org.test
  11.  
  12. # (str) Source code where the main.py live
  13. source.dir = .
  14.  
  15. # (list) Source files to include (let empty to include all the files)
  16. source.include_exts = py,png,jpg,kv,atlas
  17.  
  18. # (list) List of inclusions using pattern matching
  19. #source.include_patterns = assets/*,images/*.png
  20.  
  21. # (list) Source files to exclude (let empty to not exclude anything)
  22. #source.exclude_exts = spec
  23.  
  24. # (list) List of directory to exclude (let empty to not exclude anything)
  25. #source.exclude_dirs = tests, bin
  26.  
  27. # (list) List of exclusions using pattern matching
  28. #source.exclude_patterns = license,images/*/*.jpg
  29.  
  30. # (str) Application versioning (method 1)
  31. version = 0.10
  32.  
  33. # (str) Application versioning (method 2)
  34. # version.regex = __version__ = ['"](.*)['"]
  35. # version.filename = %(source.dir)s/main.py
  36.  
  37. # (list) Application requirements
  38. # comma separated e.g. requirements = sqlite3,kivy
  39. requirements = python3,kivy,paho-mqtt
  40.  
  41. # (str) Custom source folders for requirements
  42. # Sets custom source for any requirements with recipes
  43. # requirements.source.kivy = ../../kivy
  44.  
  45.  
  46. # (list) Garden requirements
  47. #garden_requirements =
  48.  
  49. # (str) Presplash of the application
  50. #presplash.filename = %(source.dir)s/data/presplash.png
  51.  
  52. # (str) Icon of the application
  53. #icon.filename = %(source.dir)s/data/icon.png
  54.  
  55. # (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
  56. orientation = portrait
  57.  
  58. # (list) List of service to declare
  59. #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
  60.  
  61. #
  62. # OSX Specific
  63. #
  64.  
  65. #
  66. # author = © Copyright Info
  67.  
  68. # change the major version of python used by the app
  69. ####3osx.python_version = 3
  70.  
  71. # Kivy version to use
  72. ######3osx.kivy_version = 1.9.1
  73.  
  74. #
  75. # Android specific
  76. #
  77.  
  78. # (bool) Indicate if the application should be fullscreen or not
  79. fullscreen = 0
  80.  
  81. # (string) Presplash background color (for new android toolchain)
  82. # Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
  83. # red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
  84. # darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
  85. # olive, purple, silver, teal.
  86. #android.presplash_color = #FFFFFF
  87.  
  88. # (list) Permissions1
  89. android.permissions = INTERNET
  90.  
  91. # (int) Target Android API, should be as high as possible.
  92. #android.api = 27
  93.  
  94. # (int) Minimum API your APK will support.
  95. #android.minapi = 21
  96.  
  97. # (int) Android SDK version to use
  98. #android.sdk = 20
  99.  
  100. # (str) Android NDK version to use
  101. #android.ndk = 17c
  102.  
  103. # (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
  104. #android.ndk_api = 21
  105.  
  106. # (bool) Use --private data storage (True) or --dir public storage (False)
  107. #android.private_storage = True
  108.  
  109. # (str) Android NDK directory (if empty, it will be automatically downloaded.)
  110. #android.ndk_path =
  111.  
  112. # (str) Android SDK directory (if empty, it will be automatically downloaded.)
  113. #android.sdk_path =
  114.  
  115. # (str) ANT directory (if empty, it will be automatically downloaded.)
  116. #android.ant_path =
  117.  
  118. # (bool) If True, then skip trying to update the Android sdk
  119. # This can be useful to avoid excess Internet downloads or save time
  120. # when an update is due and you just want to test/build your package
  121. # android.skip_update = False
  122.  
  123. # (bool) If True, then automatically accept SDK license
  124. # agreements. This is intended for automation only. If set to False,
  125. # the default, you will be shown the license when first running
  126. # buildozer.
  127. # android.accept_sdk_license = False
  128.  
  129. # (str) Android entry point, default is ok for Kivy-based app
  130. #android.entrypoint = org.renpy.android.PythonActivity
  131.  
  132. # (list) Pattern to whitelist for the whole project
  133. #android.whitelist =
  134.  
  135. # (str) Path to a custom whitelist file
  136. #android.whitelist_src =
  137.  
  138. # (str) Path to a custom blacklist file
  139. #android.blacklist_src =
  140.  
  141. # (list) List of Java .jar files to add to the libs so that pyjnius can access
  142. # their classes. Don't add jars that you do not need, since extra jars can slow
  143. # down the build process. Allows wildcards matching, for example:
  144. # OUYA-ODK/libs/*.jar
  145. #android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
  146.  
  147. # (list) List of Java files to add to the android project (can be java or a
  148. # directory containing the files)
  149. #android.add_src =
  150.  
  151. # (list) Android AAR archives to add (currently works only with sdl2_gradle
  152. # bootstrap)
  153. #android.add_aars =
  154.  
  155. # (list) Gradle dependencies to add (currently works only with sdl2_gradle
  156. # bootstrap)
  157. #android.gradle_dependencies =
  158.  
  159. # (list) Java classes to add as activities to the manifest.
  160. #android.add_activites = com.example.ExampleActivity
  161.  
  162. # (str) python-for-android branch to use, defaults to master
  163. #p4a.branch = master
  164.  
  165. # (str) OUYA Console category. Should be one of GAME or APP
  166. # If you leave this blank, OUYA support will not be enabled
  167. #android.ouya.category = GAME
  168.  
  169. # (str) Filename of OUYA Console icon. It must be a 732x412 png image.
  170. #android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
  171.  
  172. # (str) XML file to include as an intent filters in <activity> tag
  173. #android.manifest.intent_filters =
  174.  
  175. # (str) launchMode to set for the main activity
  176. #android.manifest.launch_mode = standard
  177.  
  178. # (list) Android additional libraries to copy into libs/armeabi
  179. #android.add_libs_armeabi = libs/android/*.so
  180. #android.add_libs_armeabi_v7a = libs/android-v7/*.so
  181. #android.add_libs_x86 = libs/android-x86/*.so
  182. #android.add_libs_mips = libs/android-mips/*.so
  183.  
  184. # (bool) Indicate whether the screen should stay on
  185. # Don't forget to add the WAKE_LOCK permission if you set this to True
  186. #android.wakelock = False
  187.  
  188. # (list) Android application meta-data to set (key=value format)
  189. #android.meta_data =
  190.  
  191. # (list) Android library project to add (will be added in the
  192. # project.properties automatically.)
  193. #android.library_references =
  194.  
  195. # (str) Android logcat filters to use
  196. #android.logcat_filters = *:S python:D
  197.  
  198. # (bool) Copy library instead of making a libpymodules.so
  199. #android.copy_libs = 1
  200.  
  201. # (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
  202. android.arch = armeabi-v7a
  203.  
  204. #
  205. # Python for android (p4a) specific
  206. #
  207.  
  208. # (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
  209. #p4a.source_dir =
  210.  
  211. # (str) The directory in which python-for-android should look for your own build recipes (if any)
  212. #p4a.local_recipes =
  213.  
  214. # (str) Filename to the hook for p4a
  215. #p4a.hook =
  216.  
  217. # (str) Bootstrap to use for android builds
  218. # p4a.bootstrap = sdl2
  219.  
  220. # (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
  221. #p4a.port =
  222.  
  223.  
  224. #
  225. # iOS specific
  226. #
  227.  
  228. # (str) Path to a custom kivy-ios folder
  229. #ios.kivy_ios_dir = ../kivy-ios
  230. # Alternately, specify the URL and branch of a git checkout:
  231. ios.kivy_ios_url = https://github.com/kivy/kivy-ios
  232. ios.kivy_ios_branch = master
  233.  
  234. # Another platform dependency: ios-deploy
  235. # Uncomment to use a custom checkout
  236. #ios.ios_deploy_dir = ../ios_deploy
  237. # Or specify URL and branch
  238. ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
  239. ios.ios_deploy_branch = 1.7.0
  240.  
  241. # (str) Name of the certificate to use for signing the debug version
  242. # Get a list of available identities: buildozer ios list_identities
  243. #ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
  244.  
  245. # (str) Name of the certificate to use for signing the release version
  246. #ios.codesign.release = %(ios.codesign.debug)s
  247.  
  248.  
  249. [buildozer]
  250.  
  251. # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
  252. log_level = 2
  253.  
  254. # (int) Display warning if buildozer is run as root (0 = False, 1 = True)
  255. warn_on_root = 1
  256.  
  257. # (str) Path to build artifact storage, absolute or relative to spec file
  258. # build_dir = ./.buildozer
  259.  
  260. # (str) Path to build output (i.e. .apk, .ipa) storage
  261. # bin_dir = ./bin
  262.  
  263. # -----------------------------------------------------------------------------
  264. # List as sections
  265. #
  266. # You can define all the "list" as [section:key].
  267. # Each line will be considered as a option to the list.
  268. # Let's take [app] / source.exclude_patterns.
  269. # Instead of doing:
  270. #
  271. #[app]
  272. #source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
  273. #
  274. # This can be translated into:
  275. #
  276. #[app:source.exclude_patterns]
  277. #license
  278. #data/audio/*.wav
  279. #data/images/original/*
  280. #
  281.  
  282.  
  283. # -----------------------------------------------------------------------------
  284. # Profiles
  285. #
  286. # You can extend section / key with a profile
  287. # For example, you want to deploy a demo version of your application without
  288. # HD content. You could first change the title to add "(demo)" in the name
  289. # and extend the excluded directories to remove the HD content.
  290. #
  291. #[app@demo]
  292. #title = My Application (demo)
  293. #
  294. #[app:source.exclude_patterns@demo]
  295. #images/hd/*
  296. #
  297. # Then, invoke the command line with the "demo" profile:
  298. #
  299. #buildozer --profile demo android debug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement