Skip to content

Commit

Permalink
chore: fix url in templated setup.py (#1486)
Browse files Browse the repository at this point in the history
* chore: fix url in templated setup.py

* regenerate golden files
  • Loading branch information
parthea authored Nov 11, 2022
1 parent 23d20c1 commit 07a9dab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gapic/templates/setup.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies = [
'google-cloud-documentai >= 1.2.1, < 3.0.0dev',
{% endif %}
]
url = "https://github.com/googleapis/python-{{ api.naming.warehouse_package_name|replace("google-cloud-", "") }}"
url = "https://github.com/googleapis/python-{{ api.naming.warehouse_package_name|replace("google-cloud-", "")|replace("google-", "") }}"
package_root = os.path.abspath(os.path.dirname(__file__))
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/goldens/credentials/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"proto-plus >= 1.22.0, <2.0.0dev",
"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",
]
url = "https://github.com/googleapis/python-google-iam-credentials"
url = "https://github.com/googleapis/python-iam-credentials"

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

Expand Down

0 comments on commit 07a9dab

Please sign in to comment.