We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceed049 commit 769e12bCopy full SHA for 769e12b
pythonforandroid/recipes/cppy/__init__.py
@@ -0,0 +1,17 @@
1
+from pythonforandroid.recipe import PyProjectRecipe
2
+
3
4
+class CppyRecipe(PyProjectRecipe):
5
+ site_packages_name = 'cppy'
6
+ version = '1.3.1'
7
+ url = 'https://github.com/nucleic/cppy/archive/refs/tags/{version}.zip'
8
+ call_hostpython_via_targetpython = False
9
+ depends = ['setuptools']
10
11
+ def get_recipe_env(self, arch, **kwargs):
12
+ env = super().get_recipe_env(arch, **kwargs)
13
+ env["SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CPPY"] = self.version
14
+ return env
15
16
17
+recipe = CppyRecipe()
0 commit comments