Skip to content

Commit 3b66e03

Browse files
committed
[crystax] Re add again the attribute depends
For recipes `SetuptoolsRecipe` and `SixRecipe`, seems that we cannot remove the values that we add in here, or graph.py will fail with a Cyclic dependency error
1 parent 1f56282 commit 3b66e03

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

pythonforandroid/recipes/setuptools/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ class SetuptoolsRecipe(PythonRecipe):
66
url = 'https://pypi.python.org/packages/source/s/setuptools/setuptools-{version}.zip'
77
call_hostpython_via_targetpython = False
88
install_in_hostpython = True
9+
# This depends below, alongside the one from SixRecipe,
10+
# are crucial to solve the dependency order
11+
depends = [('python2', 'python3')]
912

1013

1114
recipe = SetuptoolsRecipe()

pythonforandroid/recipes/six/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
class SixRecipe(PythonRecipe):
66
version = '1.10.0'
77
url = 'https://pypi.python.org/packages/source/s/six/six-{version}.tar.gz'
8+
# This depends below, alongside the one from SetuptoolsRecipe,
9+
# are crucial to solve the dependency order
10+
depends = [('python2', 'python3')]
811

912

1013
recipe = SixRecipe()

0 commit comments

Comments
 (0)