Skip to content

Commit 545722d

Browse files
committed
Trying Py 2 version
1 parent b120ec6 commit 545722d

4 files changed

Lines changed: 33 additions & 2 deletions

File tree

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
1-
runtime: python38
1+
runtime: python27
2+
api_version: 1
3+
threadsafe: yes
24

5+
handlers:
6+
- url: .*
7+
script: main.app
8+
9+
libraries:
10+
- name: setuptools
11+
version: 36.6.0
12+
- name: grpcio
13+
version: 1.0.0
14+
315
env_variables:
416
REDISHOST: '10.32.97.227'
517
REDISPORT: '6379'
618

719
vpc_access_connector:
8-
name: 'projects/engelke-vpc-sample/locations/us-central1/connectors/redis-access'
20+
name: 'projects/engelke-vpc-sample/locations/us-central1/connectors/redis-access'
21+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
runtime: python38
2+
3+
env_variables:
4+
REDISHOST: '10.32.97.227'
5+
REDISPORT: '6379'
6+
7+
vpc_access_connector:
8+
name: 'projects/engelke-vpc-sample/locations/us-central1/connectors/redis-access'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import pkg_resources
2+
from google.appengine.ext import vendor
3+
4+
# Set path to your libraries folder.
5+
path = 'lib'
6+
# Add libraries installed in the path folder.
7+
vendor.add(path)
8+
# Add libraries to pkg_resources working set to find the distribution.
9+
pkg_resources.working_set.add_entry(path)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pytest==4.6.11; python_version < '3.0'

0 commit comments

Comments
 (0)