Guest User

Untitled

a guest
Oct 1st, 2017
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 7.96 KB | None | 0 0
  1. [app]
  2.  
  3. # (str) Title of your application
  4. title = CIP
  5.  
  6. # (str) Package name
  7. package.name = cip
  8.  
  9. # (str) Package domain (needed for android/ios packaging)
  10. package.domain = org.cip.org
  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,mp4,txt, ttf,json
  17.  
  18. # (list) List of inclusions using pattern matching
  19. source.include_patterns = assets/*,assets/fonts/*,images/*.png, videos/FR/*.mp4,videos/DE/*.mp4,videos/FR/*.mp4
  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.22
  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 seperated e.g. requirements = sqlite3,kivy
  39. requirements =  kivy , python2, hostpython2, ffpyplayer
  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/splash.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, portrait or all)
  55. orientation = portrait
  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 = 2
  69.  
  70. # Kivy version to use
  71. #osx.kivy_version = 1.10.0
  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
  89.  
  90. # (int) Android API to use
  91. android.api = 19
  92.  
  93. # (int) Minimum API required
  94. #android.minapi = 9
  95.  
  96. # (int) Android SDK version to use
  97. android.sdk = 20
  98.  
  99.  
  100. # (str) Android NDK version to use
  101. android.ndk = 9c
  102.  
  103. # (bool) Use --private data storage (True) or --dir public storage (False)
  104. #android.private_storage = True
  105.  
  106. # (str) Android NDK directory (if empty, it will be automatically downloaded.)
  107. #android.ndk_path =
  108.  
  109. # (str) Android SDK directory (if empty, it will be automatically downloaded.)
  110. #android.sdk_path =
  111.  
  112. # (str) ANT directory (if empty, it will be automatically downloaded.)
  113. #android.ant_path =
  114.  
  115. # (bool) If True, then skip trying to update the Android sdk
  116. # This can be useful to avoid excess Internet downloads or save time
  117. # when an update is due and you just want to test/build your package
  118. # android.skip_update = False
  119.  
  120. # (str) Android entry point, default is ok for Kivy-based app
  121. #android.entrypoint = org.renpy.android.PythonActivity
  122.  
  123. # (list) Pattern to whitelist for the whole project
  124. #android.whitelist =
  125.  
  126. # (str) Path to a custom whitelist file
  127. #android.whitelist_src =
  128.  
  129. # (str) Path to a custom blacklist file
  130. #android.blacklist_src =
  131.  
  132. # (list) List of Java .jar files to add to the libs so that pyjnius can access
  133. # their classes. Don't add jars that you do not need, since extra jars can slow
  134. # down the build process. Allows wildcards matching, for example:
  135. # OUYA-ODK/libs/*.jar
  136. #android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
  137.  
  138. # (list) List of Java files to add to the android project (can be java or a
  139. # directory containing the files)
  140. #android.add_src =
  141.  
  142. # (list) Android AAR archives to add (currently works only with sdl2_gradle
  143. # bootstrap)
  144. #android.add_aars =
  145.  
  146. # (list) Gradle dependencies to add (currently works only with sdl2_gradle
  147. # bootstrap)
  148. #android.gradle_dependencies =
  149.  
  150. # (str) python-for-android branch to use, defaults to master
  151. #p4a.branch = stable
  152.  
  153. # (str) OUYA Console category. Should be one of GAME or APP
  154. # If you leave this blank, OUYA support will not be enabled
  155. #android.ouya.category = GAME
  156.  
  157. # (str) Filename of OUYA Console icon. It must be a 732x412 png image.
  158. #android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
  159.  
  160. # (str) XML file to include as an intent filters in <activity> tag
  161. #android.manifest.intent_filters =
  162.  
  163. # (list) Android additionnal libraries to copy into libs/armeabi
  164. #android.add_libs_armeabi = libs/android/*.so
  165. #android.add_libs_armeabi_v7a = libs/android-v7/*.so
  166. #android.add_libs_x86 = libs/android-x86/*.so
  167. #android.add_libs_mips = libs/android-mips/*.so
  168.  
  169. # (bool) Indicate whether the screen should stay on
  170. # Don't forget to add the WAKE_LOCK permission if you set this to True
  171. #android.wakelock = False
  172.  
  173. # (list) Android application meta-data to set (key=value format)
  174. #android.meta_data =
  175.  
  176. # (list) Android library project to add (will be added in the
  177. # project.properties automatically.)
  178. #android.library_references =
  179.  
  180. # (str) Android logcat filters to use
  181. #android.logcat_filters = *:S python:D
  182.  
  183. # (bool) Copy library instead of making a libpymodules.so
  184. #android.copy_libs = 1
  185.  
  186. # (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
  187. android.arch = armeabi-v7a
  188.  
  189. #
  190. # Python for android (p4a) specific
  191. #
  192.  
  193. # (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
  194. #p4a.source_dir =
  195.  
  196. # (str) The directory in which python-for-android should look for your own build recipes (if any)
  197. #p4a.local_recipes =
  198.  
  199. # (str) Filename to the hook for p4a
  200. #p4a.hook =
  201.  
  202. # (str) Bootstrap to use for android builds
  203. # p4a.bootstrap = sdl2
  204.  
  205.  
  206. #
  207. # iOS specific
  208. #
  209.  
  210. # (str) Path to a custom kivy-ios folder
  211. #ios.kivy_ios_dir = ../kivy-ios
  212.  
  213. # (str) Name of the certificate to use for signing the debug version
  214. # Get a list of available identities: buildozer ios list_identities
  215. #ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
  216.  
  217. # (str) Name of the certificate to use for signing the release version
  218. #ios.codesign.release = %(ios.codesign.debug)s
  219.  
  220.  
  221. [buildozer]
  222.  
  223. # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
  224. log_level = 2
  225.  
  226. # (int) Display warning if buildozer is run as root (0 = False, 1 = True)
  227. warn_on_root = 1
  228.  
  229. # (str) Path to build artifact storage, absolute or relative to spec file
  230. # build_dir = ./.buildozer
  231.  
  232. # (str) Path to build output (i.e. .apk, .ipa) storage
  233. # bin_dir = ./bin
  234.  
  235. #    -----------------------------------------------------------------------------
  236. #    List as sections
  237. #
  238. #    You can define all the "list" as [section:key].
  239. #    Each line will be considered as a option to the list.
  240. #    Let's take [app] / source.exclude_patterns.
  241. #    Instead of doing:
  242. #
  243. #[app]
  244. #source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
  245. #
  246. #    This can be translated into:
  247. #
  248. #[app:source.exclude_patterns]
  249. #license
  250. #data/audio/*.wav
  251. #data/images/original/*
  252. #
  253.  
  254.  
  255. #    -----------------------------------------------------------------------------
  256. #    Profiles
  257. #
  258. #    You can extend section / key with a profile
  259. #    For example, you want to deploy a demo version of your application without
  260. #    HD content. You could first change the title to add "(demo)" in the name
  261. #    and extend the excluded directories to remove the HD content.
  262. #
  263. #[app@demo]
  264. #title = My Application (demo)
  265. #
  266. #[app:source.exclude_patterns@demo]
  267. #images/hd/*
  268. #
  269. #    Then, invoke the command line with the "demo" profile:
  270. #
  271. #buildozer --profile demo android debug
Add Comment
Please, Sign In to add comment