diff --git a/appengine/standard/flask/hello_world/README.md b/appengine/standard/flask/hello_world/README.md index 04ec9402ab14..e2749c87e56c 100644 --- a/appengine/standard/flask/hello_world/README.md +++ b/appengine/standard/flask/hello_world/README.md @@ -3,9 +3,4 @@ This sample shows how to use [Flask](http://flask.pocoo.org/) with Google App Engine Standard. -Before running or deploying this application, install the dependencies using -[pip](http://pip.readthedocs.io/en/stable/): - - pip install -t lib -r requirements.txt - For more information, see the [App Engine Standard README](../../README.md) diff --git a/appengine/standard/flask/hello_world/app.yaml b/appengine/standard/flask/hello_world/app.yaml index f041d384c057..c8d42601d937 100644 --- a/appengine/standard/flask/hello_world/app.yaml +++ b/appengine/standard/flask/hello_world/app.yaml @@ -5,3 +5,8 @@ threadsafe: true handlers: - url: /.* script: main.app + +# Using flask as a built-in third-party library +libraries: +- name: flask + version: latest diff --git a/appengine/standard/flask/hello_world/appengine_config.py b/appengine/standard/flask/hello_world/appengine_config.py deleted file mode 100644 index c903d9a0ac5e..000000000000 --- a/appengine/standard/flask/hello_world/appengine_config.py +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2016 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -from google.appengine.ext import vendor - -# Add any libraries installed in the "lib" folder. -vendor.add('lib') diff --git a/appengine/standard/flask/hello_world/requirements.txt b/appengine/standard/flask/hello_world/requirements.txt deleted file mode 100644 index 52ab1a390198..000000000000 --- a/appengine/standard/flask/hello_world/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -Flask==0.12.2 diff --git a/testing/requirements.txt b/testing/requirements.txt index e51938b0d193..8ba942671a95 100644 --- a/testing/requirements.txt +++ b/testing/requirements.txt @@ -15,3 +15,4 @@ webapp2==2.5.2 google-api-python-client==1.6.4 google-cloud-core==0.28.0 gcp-devrel-py-tools==0.0.11 +flask==0.12