diff --git a/build.sh b/build.sh index 92f213b17..f4b735fce 100644 --- a/build.sh +++ b/build.sh @@ -4,8 +4,5 @@ set -e set -o pipefail set -x -yarn install yarn run netlify-lambda build functions - -poetry install --no-dev -poetry run ditto transform --base-url='https://pokeapi-prod.netlify.com/' --dest-dir='_dist' +ditto transform --base-url='https://pokeapi-prod.netlify.com/' --dest-dir='_dist' diff --git a/netlify.toml b/netlify.toml index 3ff07f263..28d2d326c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "_dist" -command = "pip install poetry && bash build.sh" +command = "bash build.sh" functions = "_functions" [[redirects]] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..109cd91aa --- /dev/null +++ b/requirements.txt @@ -0,0 +1,18 @@ +certifi==2018.8.24 +chardet==3.0.4 +click==6.7 +Flask==1.0.2 +Flask-Cors==3.0.6 +genson==1.0.1 +gevent==1.3.6 +greenlet==0.4.15 +idna==2.7 +itsdangerous==0.24 +Jinja2==2.10 +MarkupSafe==1.0 +pokeapi-ditto==0.3.0 +requests==2.19.1 +six==1.11.0 +tqdm==4.26.0 +urllib3==1.23 +Werkzeug==0.14.1 diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 000000000..d70c8f8d8 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +3.6