Installation
Standalone Installation
To install the PerimeterX Python middleware as standalone, use PIP as follows:
pip install perimeterx-python-3-wsgi //Python 3
pip install perimeterx-python-wsgi //Python 2
Google App Engine Installation
To install the PerimeterX Python middleware on Google App Engine, please follow these steps:
- Create a folder to store the PerimeterX Python middleware:
mkdir lib
- Using PIP, install the PerimeterX Python middleware with the -t flag to have it installed to the folder previously created:
pip install -t lib/ perimeterx-python-wsgi-gae
- Create a file named
appengine_config.py
in the same folder as yourapp.yaml
file with the following content:
from google.appengine.ext import vendor
vendor.add('lib')
- In your
app.yaml
file, request the following libraries:
libraries:
- name: flask
version: "0.12"
- name: pycrypto
version: "2.6.1"
- name: werkzeug
version: "0.11.10"
- name: ssl
version: "2.7.11"
Updated about 2 years ago