Skip to content

Commit fbc5f6e

Browse files
authored
chore(typing): add PEP 561 py.typed markers (#372)
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
1 parent 2d28fe1 commit fbc5f6e

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

spiffe-tls/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ repository = "https://github.com/HewlettPackard/py-spiffe"
1010
packages = [
1111
{ include = "spiffetls", from = "src" },
1212
]
13+
include = [
14+
{ path = "src/spiffetls/py.typed", format = "wheel" },
15+
{ path = "src/spiffetls/py.typed", format = "sdist" },
16+
]
1317

1418
[tool.poetry.dependencies]
1519
python = "^3.10" # >= 3.10, < 4.0

spiffe-tls/src/spiffetls/py.typed

Whitespace-only changes.

spiffe/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ readme = "README.md"
77
license = "Apache-2.0"
88
repository = "https://github.com/HewlettPackard/py-spiffe"
99

10+
packages = [{ include = "spiffe", from = "src" }]
11+
include = [
12+
{ path = "src/spiffe/py.typed", format = "wheel" },
13+
{ path = "src/spiffe/py.typed", format = "sdist" },
14+
]
15+
1016
[tool.poetry.dependencies]
1117
python = "^3.10" # >= 3.10, < 4.0
1218
grpcio = "^1.62"

spiffe/src/spiffe/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)