Skip to content

Commit

Permalink
chore: use standard owlbot.py (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Sep 22, 2023
1 parent ab2b9ac commit d3563be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions packages/google-cloud-gsuiteaddons/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
if clean_up_generated_samples:
shutil.rmtree("samples/generated_samples", ignore_errors=True)
clean_up_generated_samples = False

s.move([library], excludes=["**/gapic_version.py", "setup.py", "testing/constraints-3.7.txt"])
s.move([library], excludes=["**/gapic_version.py"])
s.remove_staging_dirs()

# ----------------------------------------------------------------------------
Expand Down
8 changes: 3 additions & 5 deletions packages/google-cloud-gsuiteaddons/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -42,7 +42,7 @@
"proto-plus >= 1.22.0, <2.0.0dev",
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
"google-apps-script-type>=0.2.0, <1.0.0dev",
"google-apps-script-type >= 0.2.0, <1.0.0dev",
]
url = "https://github.com/googleapis/python-gsuiteaddons"

Expand All @@ -58,9 +58,7 @@
if package.startswith("google")
]

namespaces = ["google"]
if "google.cloud" in packages:
namespaces.append("google.cloud")
namespaces = ["google", "google.cloud"]

setuptools.setup(
name=name,
Expand Down

0 comments on commit d3563be

Please sign in to comment.