Advertisement
Guest User

Untitled

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