2017-08-13 03:24:00 +02:00
|
|
|
|
2019-03-30 21:58:45 +01:00
|
|
|
from pythonforandroid.recipe import PythonRecipe
|
2017-08-13 03:24:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
class FlaskRecipe(PythonRecipe):
|
2019-03-30 21:58:45 +01:00
|
|
|
# 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'
|
2017-08-13 03:24:00 +02:00
|
|
|
url = 'https://github.com/pallets/flask/archive/{version}.zip'
|
|
|
|
|
2019-03-30 21:58:45 +01:00
|
|
|
depends = [('python2', 'python3', 'python3crystax'), 'setuptools']
|
2017-08-13 03:24:00 +02:00
|
|
|
|
|
|
|
python_depends = ['jinja2', 'werkzeug', 'markupsafe', 'itsdangerous', 'click']
|
|
|
|
|
|
|
|
call_hostpython_via_targetpython = False
|
|
|
|
install_in_hostpython = False
|
|
|
|
|
|
|
|
|
|
|
|
recipe = FlaskRecipe()
|