The preferred tooling for managing your App Engine applications in
Python 2 is
Google Cloud SDK. Cloud SDK includes a
local development server as well as the
gcloudcommand-line
tooling for deploying and managing your apps.
By downloading, you agree to be bound by the Terms that govern use of all SDKs for App
Engine.
Installing Cloud SDK for Python 2
Install Google Cloud SDK along with the corresponding gcloud component and other related
tools and dependencies.
Run the following command to update all the installed Google Cloud SDK
components, including the App Engine extension for Python 2:
gcloud components update
If you have previously used the original App Engine SDK and need to continue
to use the appcfg command,
you can instead download and install the original App Engine SDK by following
the instructions below. Cloud SDK does not include the
appcfg command.
Download and install the original App Engine SDK for Python 2.
To install the original local development server and the
appcfg tooling, you can install the original App Engine
SDK for Python 2.
Optional: Download and install the original App Engine SDK for Python
Make sure Python 2.7 is installed on your machine using
the following command:
/usr/bin/env python -V
The output should look like this:
Python 2.7.[NUMBER]. If Python 2.7 isn't
installed, install it now using the installation instructions
for your Linux distribution.
In the Finder, click Go > Applications to open the
Applications folder.
Double click the
GoogleAppEngineLauncher-1.9.86.dmg file that you
downloaded to open it, then drag the
GoogleAppEngineLauncher icon over to the Applications
folder.
Double-click GoogleAppEngineLauncher in the
Application folder.
When prompted to Make command symlinks, click
OK. The symlinks allow you to run important SDK
command-line tools in any terminal window.
Important: The GoogleAppEngineLauncher
is a convenient UI-based tool for running and deploying App
Engine apps, but it does not provide all the features
you'll need. You can use the equivalent
gcloud command-line
tool, for many of the tasks that you'll want to perform.
Notice that the installation process above unpacks the
contents of the App Engine SDK at the location:
/usr/local/google_appengine
The App Engine SDK requires Python 2.7, which is installed
by default on Mac OS X 10.6 (Snow Leopard) or later. Verify
your Mac's Python installation using the following command:
/usr/bin/env python -V
If the output looks like
Python 2.7.[NUMBER] then you already have
the correct Python version installed. Otherwise you can
download and install Python 2.7 from the
Python web site.
Double-click the SDK file you downloaded
(GoogleAppEngine-1.9.86.msi) and follow the
prompts to install the SDK.
You will need Python 2.7 to use the App Engine SDK,
because the
Development
Server is a Python application. Download Python 2.7.X
(don't use a higher version) from the
Python web site.