Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

Commit ad16b62

Browse files
committed
Merge pull request #2 from andrewsg/master
move 1.9.17n runtime files to a subfolder similar to appengine-java-vm-runtime
2 parents dc47ae1 + ae38e11 commit ad16b62

19,647 files changed

Lines changed: 358 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
5+
# C extensions
6+
*.so
7+
8+
# Distribution / packaging
9+
.Python
10+
env/
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
lib/
17+
lib64/
18+
parts/
19+
sdist/
20+
var/
21+
*.egg-info/
22+
.installed.cfg
23+
*.egg
24+
25+
# PyInstaller
26+
# Usually these files are written by a python script from a template
27+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
28+
*.manifest
29+
*.spec
30+
31+
# Installer logs
32+
pip-log.txt
33+
pip-delete-this-directory.txt
34+
35+
# Unit test / coverage reports
36+
htmlcov/
37+
.tox/
38+
.coverage
39+
.cache
40+
nosetests.xml
41+
coverage.xml
42+
43+
# Translations
44+
*.mo
45+
*.pot
46+
47+
# Django stuff:
48+
*.log
49+
50+
# Sphinx documentation
51+
docs/_build/
52+
53+
# PyBuilder
54+
target/
File renamed without changes.

python_vm_runtime/LICENSE

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
GOOGLE APP ENGINE SDK
2+
=====================
3+
Copyright 2008 Google Inc.
4+
All rights reserved.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
19+
DJANGO FRAMEWORK
20+
================
21+
Copyright (c) 2005, the Lawrence Journal-World
22+
All rights reserved.
23+
24+
Redistribution and use in source and binary forms, with or without modification,
25+
are permitted provided that the following conditions are met:
26+
27+
1. Redistributions of source code must retain the above copyright notice,
28+
this list of conditions and the following disclaimer.
29+
30+
2. Redistributions in binary form must reproduce the above copyright
31+
notice, this list of conditions and the following disclaimer in the
32+
documentation and/or other materials provided with the distribution.
33+
34+
3. Neither the name of Django nor the names of its contributors may be used
35+
to endorse or promote products derived from this software without
36+
specific prior written permission.
37+
38+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
39+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
40+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
41+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
42+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
43+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
44+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
45+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
46+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
47+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
48+
49+
50+
WebOb
51+
======
52+
53+
Copyright (c) 2007 Ian Bicking and Contributors
54+
55+
Permission is hereby granted, free of charge, to any person obtaining
56+
a copy of this software and associated documentation files (the
57+
"Software"), to deal in the Software without restriction, including
58+
without limitation the rights to use, copy, modify, merge, publish,
59+
distribute, sublicense, and/or sell copies of the Software, and to
60+
permit persons to whom the Software is furnished to do so, subject to
61+
the following conditions:
62+
63+
The above copyright notice and this permission notice shall be
64+
included in all copies or substantial portions of the Software.
65+
66+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
67+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
68+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
69+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
70+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
71+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
72+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73+
74+
75+
PyYaml
76+
=======
77+
Copyright (c) 2006 Kirill Simonov
78+
79+
Permission is hereby granted, free of charge, to any person obtaining a copy of
80+
this software and associated documentation files (the "Software"), to deal in
81+
the Software without restriction, including without limitation the rights to
82+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
83+
of the Software, and to permit persons to whom the Software is furnished to do
84+
so, subject to the following conditions:
85+
86+
The above copyright notice and this permission notice shall be included in all
87+
copies or substantial portions of the Software.
88+
89+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
90+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
91+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
92+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
94+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
95+
SOFTWARE.
96+
97+
98+
cacerts
99+
=======
100+
Version: MPL 1.1/GPL 2.0/LGPL 2.1
101+
102+
The contents of this file are subject to the Mozilla Public License Version
103+
1.1 (the "License"); you may not use this file except in compliance with
104+
the License. You may obtain a copy of the License at
105+
http://www.mozilla.org/MPL/
106+
107+
Software distributed under the License is distributed on an "AS IS" basis,
108+
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
109+
for the specific language governing rights and limitations under the
110+
License.
111+
112+
The Original Code is the Netscape security libraries.
113+
114+
The Initial Developer of the Original Code is
115+
Netscape Communications Corporation.
116+
Portions created by the Initial Developer are Copyright (C) 1994-2000
117+
the Initial Developer. All Rights Reserved.
118+
119+
Contributor(s):
120+
121+
Alternatively, the contents of this file may be used under the terms of
122+
either the GNU General Public License Version 2 or later (the "GPL"), or
123+
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
124+
in which case the provisions of the GPL or the LGPL are applicable instead
125+
of those above. If you wish to allow use of your version of this file only
126+
under the terms of either the GPL or the LGPL, and not to allow others to
127+
use your version of this file under the terms of the MPL, indicate your
128+
decision by deleting the provisions above and replace them with the notice
129+
and other provisions required by the GPL or the LGPL. If you do not delete
130+
the provisions above, a recipient may use your version of this file under
131+
the terms of any one of the MPL, the GPL or the LGPL.
132+

python_vm_runtime/README

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
Copyright 2008 Google Inc.
2+
All rights reserved.
3+
4+
App Engine SDK - Development tools for Google App Engine
5+
6+
CONTENTS
7+
========
8+
9+
* Installing on Mac OSX
10+
* Installing on Windows
11+
* Installing on Linux and other platforms
12+
* Running the SDK
13+
* Using the SDK
14+
* Using the App Engine Launcher
15+
16+
17+
INSTALLING ON Mac OSX
18+
=====================
19+
1) Download and install Python 2.7 from http://www.python.org/download/
20+
2) Download the SDK installer from
21+
https://developers.google.com/appengine/downloads
22+
3) Install the SDK by double-clicking on the GoogleAppEngine.dmg file and
23+
running the installer.
24+
25+
26+
INSTALLING ON WINDOWS
27+
=====================
28+
1) Download and install Python 2.7 from http://www.python.org/download/
29+
2) Download the SDK installer from
30+
https://developers.google.com/appengine/downloads
31+
3) Install the SDK by double-clicking on the GoogleAppEngine.msi file and
32+
running the installer.
33+
34+
35+
INSTALLING ON LINUX AND OTHER PLATFORMS
36+
===============================
37+
1) Download and install Python 2.7 from http://www.python.org/download/
38+
2) Download the SDK zip file from
39+
https://developers.google.com/appengine/downloads
40+
3) Unpack the zip file.
41+
42+
43+
RUNNING THE SDK
44+
=========================
45+
You can run the SDK with the following command:
46+
47+
dev_appserver.py [options] <application root>
48+
49+
Application root must be the path to the application to run in this server.
50+
Must contain a valid app.yaml or app.yml file.
51+
52+
Options:
53+
--address=ADDRESS, -a ADDRESS
54+
Address to which this server should bind. (Default
55+
localhost).
56+
--clear_datastore, -c Clear the Datastore on startup. (Default false)
57+
--debug, -d Use debug logging. (Default false)
58+
--help, -h View this helpful message.
59+
--port=PORT, -p PORT Port for the server to run on. (Default 8080)
60+
61+
--allow_skipped_files Allow access to files matched by app.yaml's
62+
skipped_files (default False)
63+
--auth_domain Authorization domain that this app runs in.
64+
(Default gmail.com)
65+
--auto_id_policy=POLICY Dictate how automatic IDs are assigned by the
66+
datastore stub, "sequential" or "scattered".
67+
(Default sequential)
68+
--backends Run the dev_appserver with backends support
69+
(multiprocess mode).
70+
--blobstore_path=DIR Path to directory to use for storing Blobstore
71+
file stub data.
72+
--clear_prospective_search Clear the Prospective Search subscription index
73+
(Default false).
74+
--clear_search_indexes Clear the Full Text Search indexes (Default false).
75+
--datastore_path=DS_FILE Path to file to use for storing Datastore file
76+
stub data.
77+
(Default /tmp/dev_appserver.datastore)
78+
--debug_imports Enables debug logging for module imports, showing
79+
search paths used for finding modules and any
80+
errors encountered during the import process.
81+
--default_partition Default partition to use in the APPLICATION_ID.
82+
(Default dev)
83+
--disable_static_caching Never allow the browser to cache static files.
84+
(Default enable if expiration set in app.yaml)
85+
--disable_task_running When supplied, tasks will not be automatically
86+
run after submission and must be run manually
87+
in the local admin console.
88+
--enable_sendmail Enable sendmail when SMTP not configured.
89+
(Default false)
90+
--high_replication Use the high replication datastore consistency
91+
model. (Default false).
92+
--history_path=PATH Path to use for storing Datastore history.
93+
(Default /tmp/dev_appserver.datastore.history)
94+
--persist_logs Enables storage of all request and application
95+
logs to enable later access. (Default false).
96+
--logs_path=LOGS_FILE Path to use for storing request logs. If this is
97+
set, logs will be persisted to the given path. If
98+
this is not set and --persist_logs is true, logs
99+
are stored in /tmp/dev_appserver.logs.
100+
--multiprocess_min_port When running in multiprocess mode, specifies the
101+
lowest port value to use when choosing ports. If
102+
set to 0, select random ports.
103+
(Default 9000)
104+
--mysql_host=HOSTNAME MySQL database host that the rdbms API will use.
105+
(Default localhost)
106+
--mysql_port=PORT MySQL port to connect to.
107+
(Default 3306)
108+
--mysql_user=USER MySQL user to connect as.
109+
(Default '')
110+
--mysql_password=PASSWORD MySQL password to use.
111+
(Default '')
112+
--mysql_socket=PATH MySQL Unix socket file path.
113+
(Default '%(mysql_socket)s')
114+
--require_indexes Disallows queries that require composite indexes
115+
not defined in index.yaml.
116+
--search_indexes_path=PATH Path to file to use for storing Full Text Search
117+
indexes (Default %(search_indexes_path)s).
118+
--show_mail_body Log the body of emails in mail stub.
119+
(Default false)
120+
--skip_sdk_update_check Skip checking for SDK updates. If false, fall back
121+
to opt_in setting specified in .appcfg_nag
122+
(Default false)
123+
--smtp_host=HOSTNAME SMTP host to send test mail to. Leaving this
124+
unset will disable SMTP mail sending.
125+
(Default '')
126+
--smtp_port=PORT SMTP port to send test mail to.
127+
(Default 25)
128+
--smtp_user=USER SMTP user to connect as. Stub will only attempt
129+
to login if this field is non-empty.
130+
(Default '').
131+
--smtp_password=PASSWORD Password for SMTP server.
132+
(Default '')
133+
--task_retry_seconds How long to wait in seconds before retrying a
134+
task after it fails during execution.
135+
(Default '30')
136+
--use_sqlite Use the new, SQLite based datastore stub.
137+
(Default false)
138+
--port_sqlite_data Converts the data from the file based datastore
139+
stub to the new SQLite stub, one time use only.
140+
Requires enough RAM to hold all of the entities.
141+
(Default false)
142+
--[enable|disable]_console Enables/disables the interactive console.
143+
(Default enabled if --address is unset,
144+
disabled if --address is set)
145+
146+
147+
USING THE SDK
148+
=======================
149+
For instructions on getting started with Google App Engine, please see the
150+
Google App Engine Getting Started Guide
151+
152+
https://developers.google.com/appengine/docs/python/gettingstarted
153+
154+
155+
USING THE APP ENGINE LAUNCHER
156+
=============================
157+
The Windows and Mac OSX Python SDKs include an additional development tool
158+
called the App Engine Launcher. This tool provides a simple graphical
159+
interface to create projects, run them locally, and deploy them to Google's App
160+
Engine servers. It can be used in place of the dev_appserver and appcfg
161+
command-line tools.
162+
163+
The Windows SDK can optionally install a desktop short-cut during
164+
installation. If you are missing the short-cut, you can find the launcher in
165+
the launcher subdirectory of your App Engine installation. The default
166+
location is
167+
C:\Program Files\Google\google_appengine\launcher\GoogleAppEngineLauncher.exe
168+
169+
In Mac OSX, the Launcher is installed by dragging it out of the .dmg to a
170+
location specified by the user. The Launcher contains the SDK inside of it.
171+
A typical drag-install destination for the Launcher and SDK is
172+
/Applications/GoogleAppEngineLauncher.app
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)