fix(project urls): update incorrect urls in setup.py to point at mono… · googleapis/google-cloud-python@eaed04b · GitHub
Skip to content

Commit eaed04b

Browse files
authored
fix(project urls): update incorrect urls in setup.py to point at monorepo vs splitrepo (#17237)
Project/Homepage URLs that appear in PyPI are pointing at the old home for certain packages when they were split repos. This fix updates the setup.py files for multiple packages: ### HANDWRITTEN packages * packages/gapic-generator/setup.py * packages/google-auth/setup.py * packages/google-resumable-media/setup.py ### PROTO_ONLY_APIS packages > [!note] > If a package is `proto_only_apis`, Librarian bypasses `gapic-generator-python` entirely. Instead, it runs a raw `protoc` command directly to compile only the `_pb2.py` and `_pb2.pyi` files. Because the GAPIC generator is bypassed, the `setup.py.j2` template is never executed for them, and they need to be hand edited. * packages/google-cloud-access-context-manager/setup.py * packages/google-cloud-audit-log/setup.py Fixes bug #507858597
1 parent 7cced41 commit eaed04b

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/gapic-generator/setup.py

Lines changed: 1 addition & 1 deletion

packages/google-auth/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
author_email="googleapis-packages@google.com",
106106
description="Google Authentication Library",
107107
long_description=long_description,
108-
url="https://github.com/googleapis/google-auth-library-python",
108+
url="https://github.com/googleapis/google-cloud-python/tree/main/packages/google-auth",
109109
packages=find_namespace_packages(
110110
exclude=("tests*", "system_tests*", "docs*", "samples*")
111111
),

packages/google-cloud-access-context-manager/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
author="Google LLC",
4949
author_email="googleapis-packages@google.com",
5050
license="Apache 2.0",
51-
url="https://github.com/googleapis/python-access-context-manager",
51+
url="https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-access-context-manager",
5252
classifiers=[
5353
release_status,
5454
"Intended Audience :: Developers",

packages/google-cloud-audit-log/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
license="Apache-2.0",
6161
packages=find_namespace_packages(exclude=("tests*", "testing*")),
6262
python_requires=">=3.9",
63-
url="https://github.com/googleapis/python-audit-log",
63+
url="https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-audit-log",
6464
include_package_data=True,
6565
)

packages/google-resumable-media/setup.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)