We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392d57f commit 4db3116Copy full SHA for 4db3116
pythonforandroid/recipes/kivy3/__init__.py
@@ -0,0 +1,21 @@
1
+from pythonforandroid.recipe import PythonRecipe
2
+import shutil
3
+
4
5
+class Kivy3Recipe(PythonRecipe):
6
+ version = 'master'
7
+ url = 'https://github.com/kivy/kivy3/archive/{version}.zip'
8
9
+ depends = ['kivy']
10
+ site_packages_name = 'kivy3'
11
12
+ '''Due to setuptools.'''
13
+ call_hostpython_via_targetpython = False
14
15
+ def build_arch(self, arch):
16
+ super().build_arch(arch)
17
+ suffix = '/kivy3/default.glsl'
18
+ shutil.copyfile(self.get_build_dir(arch.arch) + suffix, self.ctx.get_python_install_dir() + suffix)
19
20
21
+recipe = Kivy3Recipe()
0 commit comments