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

Commit 907d9aa

Browse files
committed
change package name to appengine-python-vm-runtime and fix style in setup.py
1 parent 4c9799b commit 907d9aa

2 files changed

Lines changed: 23 additions & 10 deletions

File tree

multicore_runtime/dev/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get -q update && \
55
python2.7 python-pip python-gevent python-greenlet && \
66
apt-get clean && rm /var/lib/apt/lists/*_*
77

8-
COPY python-runtime-0.1.tar.gz /home/vmagent/python-runtime.tar.gz
8+
COPY appengine-python-vm-runtime-0.1.tar.gz /home/vmagent/python-runtime.tar.gz
99

1010
RUN pip install --upgrade pip>=6.1.1 gunicorn==19.1.1
1111
RUN pip install /home/vmagent/python-runtime.tar.gz

setup.py

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1-
from setuptools import setup, find_packages
1+
# Copyright 2015 Google Inc. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
"""Configure and install the runtime package."""
216

3-
setup(name='python-runtime',
17+
from setuptools import find_packages
18+
from setuptools import setup
19+
20+
setup(name='appengine-python-vm-runtime',
421
version='0.1',
522
description='Google App Engine-compatible Python runtime for Managed VMs',
623
url='https://github.com/GoogleCloudPlatform/appengine-python-vm-runtime',
@@ -9,19 +26,15 @@
926
classifiers=[
1027
'Development Status :: 3 - Alpha',
1128
'Intended Audience :: Developers',
12-
'License :: OSI Approved :: MIT License',
29+
'License :: OSI Approved :: Apache Software License',
1330
'Programming Language :: Python :: 2',
1431
'Programming Language :: Python :: 2.7',
1532
],
1633
package_dir={'': 'python_vm_runtime',
1734
'google.appengine.vmruntime': 'multicore_runtime',},
1835
include_package_data=True,
19-
packages=find_packages('python_vm_runtime') + ['google.appengine.vmruntime'],
20-
# namespace_packages=['google'], # While google is a namespace, marking
21-
# it as such makes the installer skip
22-
# __init__.py, which breaks some
23-
# packages expecting google to have
24-
# a __file__ attribute.
36+
packages=find_packages('python_vm_runtime') + ['google.appengine.vmruntime'], # pylint: disable=line-too-long
37+
# namespace_packages=['google'], # This skips google/__init__.py
2538
install_requires=['requests>=2.5.0',
2639
'webapp2>=2.5.2',
2740
'WebOb>=1.4',

0 commit comments

Comments
 (0)