lbry-fdroid/p4a/pythonforandroid/recipes/flask/__init__.py
Akinwale Ariwodola 744cfaebc2 Initial commit
2017-08-13 02:24:00 +01:00

20 lines
606 B
Python

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