|
1 | | -# Copyright 2020 Google LLC |
| 1 | +# Copyright 2018 Google LLC |
2 | 2 | # |
3 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | # you may not use this file except in compliance with the License. |
|
16 | 16 | import os |
17 | 17 |
|
18 | 18 | import setuptools |
19 | | -from setuptools import setup, find_packages |
| 19 | + |
| 20 | +# Package metadata. |
20 | 21 |
|
21 | 22 | name = "google-cloud-org-policy" |
22 | | -description = "Google Cloud Organization Policy Protos" |
| 23 | +description = "Google Cloud Org Policy Protobufs" |
23 | 24 | version = "0.1.0" |
| 25 | +# Should be one of: |
| 26 | +# 'Development Status :: 3 - Alpha' |
| 27 | +# 'Development Status :: 4 - Beta' |
| 28 | +# 'Development Status :: 5 - Production/Stable' |
24 | 29 | release_status = "Development Status :: 4 - Beta" |
25 | | -dependencies = ["google-api-core[grpc] >= 1.14.0, < 2.0.0dev"] |
| 30 | +dependencies = [ |
| 31 | + "google-api-core[grpc] >= 1.14.0, < 2.0.0dev", |
| 32 | +] |
| 33 | + |
| 34 | +# Setup boilerplate below this line. |
26 | 35 |
|
27 | 36 | package_root = os.path.abspath(os.path.dirname(__file__)) |
28 | 37 |
|
|
41 | 50 | if "google.cloud" in packages: |
42 | 51 | namespaces.append("google.cloud") |
43 | 52 |
|
44 | | - |
45 | 53 | setuptools.setup( |
46 | 54 | name=name, |
47 | 55 | version=version, |
| 56 | + description=description, |
| 57 | + long_description=readme, |
48 | 58 | author="Google LLC", |
49 | 59 | author_email="googleapis-packages@google.com", |
| 60 | + license="Apache 2.0", |
| 61 | + url="https://github.com/googleapis/python-org-policy", |
50 | 62 | classifiers=[ |
51 | 63 | release_status, |
52 | 64 | "Intended Audience :: Developers", |
|
57 | 69 | "Programming Language :: Python :: 3.6", |
58 | 70 | "Programming Language :: Python :: 3.7", |
59 | 71 | "Programming Language :: Python :: 3.8", |
60 | | - "Programming Language :: Python :: Implementation :: CPython", |
| 72 | + "Operating System :: OS Independent", |
| 73 | + "Topic :: Internet", |
61 | 74 | ], |
62 | | - description=description, |
63 | | - long_description=readme, |
64 | | - long_description_content_type="text/markdown", |
| 75 | + platforms="Posix; MacOS X; Windows", |
| 76 | + packages=packages, |
| 77 | + namespace_packages=namespaces, |
65 | 78 | install_requires=dependencies, |
66 | | - license="Apache-2.0", |
67 | | - packages=find_packages(), |
68 | 79 | python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", |
69 | | - namespace_packages=packages, |
70 | | - url="https://github.com/googleapis/python-org-policy", |
71 | 80 | include_package_data=True, |
72 | | -) |
| 81 | + zip_safe=False, |
| 82 | +) |
0 commit comments