| Index: third_party/gsutil/third_party/protorpc/setup.py
|
| diff --git a/third_party/gsutil/third_party/protorpc/setup.py b/third_party/gsutil/third_party/protorpc/setup.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..bc1002afcc0fc08de8c1d598eda65f016aa62551
|
| --- /dev/null
|
| +++ b/third_party/gsutil/third_party/protorpc/setup.py
|
| @@ -0,0 +1,75 @@
|
| +#!/usr/bin/env python
|
| +#
|
| +# Copyright 2013 Google Inc. All Rights Reserved.
|
| +#
|
| +# Licensed under the Apache License, Version 2.0 (the "License");
|
| +# you may not use this file except in compliance with the License.
|
| +# You may obtain a copy of the License at
|
| +#
|
| +# http://www.apache.org/licenses/LICENSE-2.0
|
| +#
|
| +# Unless required by applicable law or agreed to in writing, software
|
| +# distributed under the License is distributed on an "AS IS" BASIS,
|
| +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| +# See the License for the specific language governing permissions and
|
| +# limitations under the License.
|
| +
|
| +"""Setup configuration."""
|
| +
|
| +import platform
|
| +
|
| +from setuptools import setup
|
| +
|
| +# Configure the required packages and scripts to install, depending on
|
| +# Python version and OS.
|
| +REQUIRED_PACKAGES = [
|
| + 'six',
|
| + ]
|
| +CONSOLE_SCRIPTS = [
|
| + 'gen_protorpc = gen_protorpc:main',
|
| + ]
|
| +
|
| +py_version = platform.python_version()
|
| +if py_version < '2.6':
|
| + REQUIRED_PACKAGES.append('simplejson')
|
| +
|
| +_PROTORPC_VERSION = '0.10.0'
|
| +packages = [
|
| + 'protorpc',
|
| +]
|
| +
|
| +setup(
|
| + name='protorpc',
|
| + version=_PROTORPC_VERSION,
|
| + description='Google Protocol RPC',
|
| + url='http://code.google.com/p/google-protorpc/',
|
| + author='Google Inc.',
|
| + author_email='rafek@google.com',
|
| + # Contained modules and scripts.
|
| + packages=packages,
|
| + entry_points={
|
| + 'console_scripts': CONSOLE_SCRIPTS,
|
| + },
|
| + install_requires=REQUIRED_PACKAGES,
|
| + provides=[
|
| + 'protorpc (%s)' % (_PROTORPC_VERSION,),
|
| + ],
|
| + # PyPI package information.
|
| + classifiers=[
|
| + 'Intended Audience :: Developers',
|
| + 'License :: OSI Approved :: Apache Software License',
|
| + 'Operating System :: MacOS :: MacOS X',
|
| + 'Operating System :: Microsoft :: Windows',
|
| + 'Operating System :: POSIX :: Linux',
|
| + 'Programming Language :: Python :: 2',
|
| + 'Programming Language :: Python :: 2.6',
|
| + 'Programming Language :: Python :: 2.7',
|
| + 'Programming Language :: Python :: 3',
|
| + 'Programming Language :: Python :: 3.3',
|
| + 'Programming Language :: Python :: 3.4',
|
| + 'Topic :: Software Development :: Libraries',
|
| + 'Topic :: Software Development :: Libraries :: Python Modules',
|
| + ],
|
| + license='Apache 2.0',
|
| + keywords='google protocol rpc',
|
| + )
|
|
|