Advertisement
DarKnighTitan

buildoze.spec file

Jan 3rd, 2021
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.96 KB | None | 0 0
  1. [app]
  2.  
  3. # (str) Title of your application
  4. title = Rcrypt.Una3.9.1
  5.  
  6. # (str) Package name
  7. package.name = storagetest391
  8.  
  9. # (str) Package domain (needed for android/ios packaging)
  10. package.domain = una.ray
  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.ico
  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, venv
  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.12
  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==3.9.1, hostpython3==3.9.1,kivy==master,kivymd, android
  40.  
  41. # (str) Custom source folders for requirements
  42. # Sets custom source for any requirements with recipes
  43. # requirements.source.kivy = ../../kivy
  44.  
  45. # (str) Presplash of the application
  46. #presplash.filename = %(source.dir)s/data/presplash.png
  47.  
  48. # (str) Icon of the application
  49. #icon.filename = %(source.dir)s/data/icon.png
  50.  
  51. # (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
  52. orientation = portrait
  53.  
  54. # (list) List of service to declare
  55. #services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
  56.  
  57. #
  58. # OSX Specific
  59. #
  60.  
  61. #
  62. # author = © Copyright Info
  63.  
  64. # change the major version of python used by the app
  65. osx.python_version = 3
  66.  
  67. # Kivy version to use
  68. osx.kivy_version = 1.9.1
  69.  
  70. #
  71. # Android specific
  72. #
  73.  
  74. # (bool) Indicate if the application should be fullscreen or not
  75. fullscreen = 0
  76.  
  77. # (string) Presplash background color (for android toolchain)
  78. # Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
  79. # red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
  80. # darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
  81. # olive, purple, silver, teal.
  82. #android.presplash_color = #FFFFFF
  83.  
  84. # (string) Presplash animation using Lottie format.
  85. # see https://lottiefiles.com/ for examples and https://airbnb.design/lottie/
  86. # for general documentation.
  87. # Lottie files can be created using various tools, like Adobe After Effect or Synfig.
  88. #android.presplash_lottie = "path/to/lottie/file.json"
  89.  
  90. # (list) Permissions
  91. android.permissions = INTERNET, WRITE_EXTERNAL_STORAGE, READ_EXTERNAL_STORAGE
  92.  
  93. # (list) features (adds uses-feature -tags to manifest)
  94. #android.features = android.hardware.usb.host
  95.  
  96. # (int) Target Android API, should be as high as possible.
  97. android.api = 30
  98.  
  99. # (int) Minimum API your APK will support.
  100. #android.minapi = 21
  101.  
  102. # (int) Android SDK version to use
  103. #android.sdk = 20
  104.  
  105. # (str) Android NDK version to use
  106. #android.ndk = 19b
  107.  
  108. # (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
  109. #android.ndk_api = 21
  110.  
  111. # (bool) Use --private data storage (True) or --dir public storage (False)
  112. #android.private_storage = True
  113.  
  114. # (str) Android NDK directory (if empty, it will be automatically downloaded.)
  115. #android.ndk_path =
  116.  
  117. # (str) Android SDK directory (if empty, it will be automatically downloaded.)
  118. #android.sdk_path =
  119.  
  120. # (str) ANT directory (if empty, it will be automatically downloaded.)
  121. #android.ant_path =
  122.  
  123. # (bool) If True, then skip trying to update the Android sdk
  124. # This can be useful to avoid excess Internet downloads or save time
  125. # when an update is due and you just want to test/build your package
  126. # android.skip_update = False
  127.  
  128. # (bool) If True, then automatically accept SDK license
  129. # agreements. This is intended for automation only. If set to False,
  130. # the default, you will be shown the license when first running
  131. # buildozer.
  132. # android.accept_sdk_license = False
  133.  
  134. # (str) Android entry point, default is ok for Kivy-based app
  135. #android.entrypoint = org.renpy.android.PythonActivity
  136.  
  137. # (str) Android app theme, default is ok for Kivy-based app
  138. # android.apptheme = "@android:style/Theme.NoTitleBar"
  139.  
  140. # (list) Pattern to whitelist for the whole project
  141. #android.whitelist =
  142.  
  143. # (str) Path to a custom whitelist file
  144. #android.whitelist_src =
  145.  
  146. # (str) Path to a custom blacklist file
  147. #android.blacklist_src =
  148.  
  149. # (list) List of Java .jar files to add to the libs so that pyjnius can access
  150. # their classes. Don't add jars that you do not need, since extra jars can slow
  151. # down the build process. Allows wildcards matching, for example:
  152. # OUYA-ODK/libs/*.jar
  153. #android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
  154.  
  155. # (list) List of Java files to add to the android project (can be java or a
  156. # directory containing the files)
  157. #android.add_src =
  158.  
  159. # (list) Android AAR archives to add
  160. #android.add_aars =
  161.  
  162. # (list) Gradle dependencies to add
  163. #android.gradle_dependencies =
  164.  
  165. # (list) add java compile options
  166. # this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
  167. # see https://developer.android.com/studio/write/java8-support for further information
  168. # android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"
  169.  
  170. # (list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}
  171. # please enclose in double quotes
  172. # e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"
  173. #android.add_gradle_repositories =
  174.  
  175. # (list) packaging options to add
  176. # see https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html
  177. # can be necessary to solve conflicts in gradle_dependencies
  178. # please enclose in double quotes
  179. # e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"
  180. #android.add_packaging_options =
  181.  
  182. # (list) Java classes to add as activities to the manifest.
  183. #android.add_activities = com.example.ExampleActivity
  184.  
  185. # (str) OUYA Console category. Should be one of GAME or APP
  186. # If you leave this blank, OUYA support will not be enabled
  187. #android.ouya.category = APP
  188.  
  189. # (str) Filename of OUYA Console icon. It must be a 732x412 png image.
  190. #android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
  191.  
  192. # (str) XML file to include as an intent filters in <activity> tag
  193. #android.manifest.intent_filters =
  194.  
  195. # (str) launchMode to set for the main activity
  196. #android.manifest.launch_mode = standard
  197.  
  198. # (list) Android additional libraries to copy into libs/armeabi
  199. #android.add_libs_armeabi = libs/android/*.so
  200. #android.add_libs_armeabi_v7a = libs/android-v7/*.so
  201. #android.add_libs_arm64_v8a = libs/android-v8/*.so
  202. #android.add_libs_x86 = libs/android-x86/*.so
  203. #android.add_libs_mips = libs/android-mips/*.so
  204.  
  205. # (bool) Indicate whether the screen should stay on
  206. # Don't forget to add the WAKE_LOCK permission if you set this to True
  207. #android.wakelock = False
  208.  
  209. # (list) Android application meta-data to set (key=value format)
  210. #android.meta_data =
  211.  
  212. # (list) Android library project to add (will be added in the
  213. # project.properties automatically.)
  214. #android.library_references =
  215.  
  216. # (list) Android shared libraries which will be added to AndroidManifest.xml using <uses-library> tag
  217. #android.uses_library =
  218.  
  219. # (str) Android logcat filters to use
  220. #android.logcat_filters = *:S python:D
  221.  
  222. # (bool) Copy library instead of making a libpymodules.so
  223. #android.copy_libs = 1
  224.  
  225. # (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
  226. android.arch = armeabi-v7a
  227.  
  228. # (int) overrides automatic versionCode computation (used in build.gradle)
  229. # this is not the same as app version and should only be edited if you know what you're doing
  230. # android.numeric_version = 1
  231.  
  232. # (bool) enables Android auto backup feature (Android API >=23)
  233. android.allow_backup = True
  234.  
  235. # (str) XML file for custom backup rules (see official auto backup documentation)
  236. # android.backup_rules =
  237.  
  238. # (str) If you need to insert variables into your AndroidManifest.xml file,
  239. # you can do so with the manifestPlaceholders property.
  240. # This property takes a map of key-value pairs. (via a string)
  241. # Usage example : android.manifest_placeholders = [myCustomUrl:\"org.kivy.customurl\"]
  242. # android.manifest_placeholders = [:]
  243.  
  244. #
  245. # Python for android (p4a) specific
  246. #
  247.  
  248. # (str) python-for-android fork to use, defaults to upstream (kivy)
  249. #p4a.fork = kivy
  250.  
  251. # (str) python-for-android branch to use, defaults to master
  252. #p4a.branch = master
  253.  
  254. # (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
  255. #p4a.source_dir =
  256.  
  257. # (str) The directory in which python-for-android should look for your own build recipes (if any)
  258. #p4a.local_recipes =
  259.  
  260. # (str) Filename to the hook for p4a
  261. #p4a.hook =
  262.  
  263. # (str) Bootstrap to use for android builds
  264. # p4a.bootstrap = sdl2
  265.  
  266. # (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
  267. #p4a.port =
  268.  
  269. # Control passing the --use-setup-py vs --ignore-setup-py to p4a
  270. # "in the future" --use-setup-py is going to be the default behaviour in p4a, right now it is not
  271. # Setting this to false will pass --ignore-setup-py, true will pass --use-setup-py
  272. # NOTE: this is general setuptools integration, having pyproject.toml is enough, no need to generate
  273. # setup.py if you're using Poetry, but you need to add "toml" to source.include_exts.
  274. #p4a.setup_py = false
  275.  
  276.  
  277. #
  278. # iOS specific
  279. #
  280.  
  281. # (str) Path to a custom kivy-ios folder
  282. #ios.kivy_ios_dir = ../kivy-ios
  283. # Alternately, specify the URL and branch of a git checkout:
  284. ios.kivy_ios_url = https://github.com/kivy/kivy-ios
  285. ios.kivy_ios_branch = master
  286.  
  287. # Another platform dependency: ios-deploy
  288. # Uncomment to use a custom checkout
  289. #ios.ios_deploy_dir = ../ios_deploy
  290. # Or specify URL and branch
  291. ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
  292. ios.ios_deploy_branch = 1.10.0
  293.  
  294. # (bool) Whether or not to sign the code
  295. ios.codesign.allowed = false
  296.  
  297. # (str) Name of the certificate to use for signing the debug version
  298. # Get a list of available identities: buildozer ios list_identities
  299. #ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
  300.  
  301. # (str) Name of the certificate to use for signing the release version
  302. #ios.codesign.release = %(ios.codesign.debug)s
  303.  
  304.  
  305. [buildozer]
  306.  
  307. # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
  308. log_level = 2
  309.  
  310. # (int) Display warning if buildozer is run as root (0 = False, 1 = True)
  311. warn_on_root = 1
  312.  
  313. # (str) Path to build artifact storage, absolute or relative to spec file
  314. # build_dir = ./.buildozer
  315.  
  316. # (str) Path to build output (i.e. .apk, .ipa) storage
  317. # bin_dir = ./bin
  318.  
  319. # -----------------------------------------------------------------------------
  320. # List as sections
  321. #
  322. # You can define all the "list" as [section:key].
  323. # Each line will be considered as a option to the list.
  324. # Let's take [app] / source.exclude_patterns.
  325. # Instead of doing:
  326. #
  327. #[app]
  328. #source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
  329. #
  330. # This can be translated into:
  331. #
  332. #[app:source.exclude_patterns]
  333. #license
  334. #data/audio/*.wav
  335. #data/images/original/*
  336. #
  337.  
  338.  
  339. # -----------------------------------------------------------------------------
  340. # Profiles
  341. #
  342. # You can extend section / key with a profile
  343. # For example, you want to deploy a demo version of your application without
  344. # HD content. You could first change the title to add "(demo)" in the name
  345. # and extend the excluded directories to remove the HD content.
  346. #
  347. #[app@demo]
  348. #title = My Application (demo)
  349. #
  350. #[app:source.exclude_patterns@demo]
  351. #images/hd/*
  352. #
  353. # Then, invoke the command line with the "demo" profile:
  354. #
  355. #buildozer --profile demo android debug
  356.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement