Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Commit d18203a

Browse files
committed
fix: fix setup.py
1 parent 4919572 commit d18203a

File tree

1 file changed

+24
-14
lines changed

1 file changed

+24
-14
lines changed

setup.py

+24-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 Google LLC
1+
# Copyright 2018 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -16,13 +16,22 @@
1616
import os
1717

1818
import setuptools
19-
from setuptools import setup, find_packages
19+
20+
# Package metadata.
2021

2122
name = "google-cloud-org-policy"
22-
description = "Google Cloud Organization Policy Protos"
23+
description = "Google Cloud Org Policy Protobufs"
2324
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'
2429
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.
2635

2736
package_root = os.path.abspath(os.path.dirname(__file__))
2837

@@ -41,12 +50,15 @@
4150
if "google.cloud" in packages:
4251
namespaces.append("google.cloud")
4352

44-
4553
setuptools.setup(
4654
name=name,
4755
version=version,
56+
description=description,
57+
long_description=readme,
4858
author="Google LLC",
4959
author_email="googleapis-packages@google.com",
60+
license="Apache 2.0",
61+
url="https://github.com/googleapis/python-org-policy",
5062
classifiers=[
5163
release_status,
5264
"Intended Audience :: Developers",
@@ -57,16 +69,14 @@
5769
"Programming Language :: Python :: 3.6",
5870
"Programming Language :: Python :: 3.7",
5971
"Programming Language :: Python :: 3.8",
60-
"Programming Language :: Python :: Implementation :: CPython",
72+
"Operating System :: OS Independent",
73+
"Topic :: Internet",
6174
],
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,
6578
install_requires=dependencies,
66-
license="Apache-2.0",
67-
packages=find_packages(),
6879
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",
7180
include_package_data=True,
72-
)
81+
zip_safe=False,
82+
)

0 commit comments

Comments
 (0)