Skip to content

Commit b7577b2

Browse files
committed
fix(generator): remove --no-build-isolation and specify package-data in pyproject.toml
1 parent 09bea02 commit b7577b2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/gapic-generator/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def showcase_library(
392392
# Install the library without a constraints file.
393393
session.install("-e", tmp_dir)
394394

395-
session.install("-e", "../google-api-core", "--no-build-isolation", "--no-deps")
395+
session.install("-e", "../google-api-core", "--no-deps")
396396

397397
yield tmp_dir
398398

packages/google-api-core/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ version = { attr = "google.api_core.version.__version__" }
7878
include = ["google*"]
7979

8080
[tool.setuptools.package-data]
81+
"google.api_core" = ["py.typed"]
8182
"*" = ["py.typed"]
8283

8384
[tool.mypy]

0 commit comments

Comments
 (0)