8000 declare requests recipe to accept hostpython3 · lijielife/python-for-android@b8f5cfe · GitHub
[go: up one dir, main page]

Skip to content

Commit b8f5cfe

Browse files
committed
declare requests recipe to accept hostpython3
1 parent 45c26bd commit b8f5cfe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
from pythonforandroid.toolchain import PythonRecipe
22

3+
34
class RequestsRecipe(PythonRecipe):
45
version = '2.13.0'
56
url = 'https://github.com/kennethreitz/requests/archive/v{version}.tar.gz'
6-
depends = ['hostpython2', 'setuptools']
7+
depends = [('hostpython2', 'hostpython3'), 'setuptools']
78
site_packages_name = 'requests'
89
call_hostpython_via_targetpython = False
910

11+
1012
recipe = RequestsRecipe()

0 commit comments

Comments
 (0)
0