lbry-android-sdk/p4a/pythonforandroidold/recipes/flask/__init__.py

21 lines
558 B
Python
Raw Normal View History

2022-12-02 21:15:34 +01:00
from pythonforandroid.recipe import PythonRecipe
class FlaskRecipe(PythonRecipe):
# The webserver of 'master' seems to fail
# after a little while on Android, so use
# 0.10.1 at least for now
version = '0.10.1'
url = 'https://github.com/pallets/flask/archive/{version}.zip'
depends = [('python2', 'python3', 'python3crystax'), 'setuptools']
python_depends = ['jinja2', 'werkzeug', 'markupsafe', 'itsdangerous', 'click']
call_hostpython_via_targetpython = False
install_in_hostpython = False
recipe = FlaskRecipe()