|
| 1 | +# Copyright 2016 Google Inc. |
| 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 | +import os |
| 16 | + |
| 17 | +from setuptools import find_packages |
| 18 | +from setuptools import setup |
| 19 | + |
| 20 | + |
| 21 | +PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__)) |
| 22 | + |
| 23 | +with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj: |
| 24 | + README = file_obj.read() |
| 25 | + |
| 26 | +# NOTE: This is duplicated throughout and we should try to |
| 27 | +# consolidate. |
| 28 | +SETUP_BASE = { |
| 29 | + 'author': 'Google Cloud Platform', |
| 30 | + 'author_email': 'jjg+google-cloud-python@google.com', |
| 31 | + 'scripts': [], |
| 32 | + 'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python', |
| 33 | + 'license': 'Apache 2.0', |
| 34 | + 'platforms': 'Posix; MacOS X; Windows', |
| 35 | + 'include_package_data': True, |
| 36 | + 'zip_safe': False, |
| 37 | + 'classifiers': [ |
| 38 | + 'Development Status :: 4 - Beta', |
| 39 | + 'Intended Audience :: Developers', |
| 40 | + 'License :: OSI Approved :: Apache Software License', |
| 41 | + 'Operating System :: OS Independent', |
| 42 | + 'Programming Language :: Python :: 2', |
| 43 | + 'Programming Language :: Python :: 2.7', |
| 44 | + 'Programming Language :: Python :: 3', |
| 45 | + 'Programming Language :: Python :: 3.4', |
| 46 | + 'Programming Language :: Python :: 3.5', |
| 47 | + 'Topic :: Internet', |
| 48 | + ], |
| 49 | +} |
| 50 | + |
| 51 | + |
| 52 | +REQUIREMENTS = [ |
| 53 | + 'google-cloud-core', |
| 54 | +] |
| 55 | + |
| 56 | +setup( |
| 57 | + name='google-cloud-resource-manager', |
| 58 | + version='0.20.0dev', |
| 59 | + description='Python Client for Google Cloud Resource Manager', |
| 60 | + long_description=README, |
| 61 | + namespace_packages=[ |
| 62 | + 'google', |
| 63 | + 'google.cloud', |
| 64 | + ], |
| 65 | + packages=find_packages(), |
| 66 | + install_requires=REQUIREMENTS, |
| 67 | + **SETUP_BASE |
| 68 | +) |
0 commit comments