Advertisement
Guest User

Buildozer

a guest
Oct 11th, 2018
875
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.40 KB | None | 0 0
  1. [app]
  2.  
  3. # (str) Title of your application
  4. title = My Element
  5.  
  6. # (str) Package name
  7. package.name = myapp
  8.  
  9. # (str) Package domain (needed for android/ios packaging)
  10. package.domain = MyElement1
  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,ttf
  17.  
  18. # (str) Application versioning (method 1)
  19. version = 0.9
  20.  
  21. # (list) Application requirements
  22. requirements = kivy,hostpython2,android,kivmob
  23.  
  24. # (str) Presplash of the application
  25. presplash.filename = "./Loading.png"
  26.  
  27. # (str) Icon of the application
  28. icon.filename = "./4Elements.png"
  29.  
  30. # (str) Supported orientation (one of landscape, portrait or all)
  31. orientation = portrait
  32.  
  33. # (bool) Indicate if the application should be fullscreen or not
  34. fullscreen = 1
  35.  
  36. # (list) Permissions
  37. android.permissions = INTERNET, ACCESS_NETWORK_STATE
  38.  
  39. # *** AdMob *** Changed to (copy)
  40. p4a.source_dir = /home/pl/python-for-android-admob
  41. p4a.bootstrap = sdl2-admob
  42.  
  43.  
  44. # (int) Android API to use
  45. android.api = 19
  46. # (int) Minimum API required
  47. #android.minapi = 19
  48.  
  49. # (int) Android SDK version to use
  50. android.sdk = 23
  51.  
  52. # (str) Android NDK version to use
  53. android.ndk = r16b
  54.  
  55. # (str) Android NDK directory (if empty, it will be automatically downloaded.)
  56. android.ndk_path = ~/.buildozer/android/android-ndk-r16b
  57.  
  58. # (str) Android SDK directory (if empty, it will be automatically downloaded.)
  59. android.sdk_path = ~/.buildozer/android/platform/android-sdk-23
  60.  
  61. # (list) Gradle dependencies to add (currently works only with sdl2_gradle bootstrap)
  62. #android.gradle_dependencies = 'com.google.android.gms:play-services-ads:15.0.0', 'com.android.support:appcompat-v7:26.1.0'
  63. #android.gradle_dependencies = 'com.google.android.gms:play-services-ads:11.0.4','com.android.support:appcompat-v7:25.3.1'
  64.  
  65. # (str) python-for-android branch to use, defaults to stable
  66. #p4a.branch = master
  67.  
  68. # (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
  69. android.arch = armeabi-v7a
  70.  
  71. # (str) The directory in which python-for-android should look for your own build recipes (if any)
  72. #p4a.local_recipes =
  73.  
  74. # (str) Filename to the hook for p4a
  75. #p4a.hook =
  76.  
  77. [buildozer]
  78.  
  79. # (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
  80. log_level = 2
  81.  
  82. # (int) Display warning if buildozer is run as root (0 = False, 1 = True)
  83. warn_on_root = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement