8000 Automatically added python to CythonRecipe depends · kived/python-for-android@6aa81fd · GitHub
[go: up one dir, main page]

Skip to content

Commit 6aa81fd

Browse files
committed
Automatically added python to CythonRecipe depends
1 parent 1ed06a3 commit 6aa81fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pythonforandroid/recipe.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,13 @@ class CythonRecipe(PythonRecipe):
809809
pre_build_ext = False
810810
cythonize = True
811811

812+
def __init__(self, *args, **kwargs):
813+
super(CythonRecipe, self).__init__(*args, **kwargs)
814+
depends = self.depends
815+
depends.append(('python2', 'python3crystax'))
816+
depends = list(set(depends))
817+
self.depends = depends
818+
812819
def build_arch(self, arch):
813820
'''Build any cython components, then install the Python module by
814821
calling setup.py install with the target Python dir.

0 commit comments

Comments
 (0)
0