Skip to content

Commit 25fdce1

Browse files
committed
Move packages to microsoft.teams namespace
1 parent 857af9e commit 25fdce1

File tree

18 files changed

+51
-45
lines changed

18 files changed

+51
-45
lines changed

packages/cards/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "cards"
2+
name = "microsoft.teams.cards"
33
version = "0.1.0"
44
description = "Add your description here"
55
readme = "README.md"
@@ -16,3 +16,6 @@ dependencies = [
1616
[build-system]
1717
requires = ["hatchling"]
1818
build-backend = "hatchling.build"
19+
20+
[tool.hatch.build.targets.wheel]
21+
packages = ["src/microsoft"]

packages/common/pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "common"
2+
name = "microsoft.teams.common"
33
version = "0.0.0"
44
description = "Add your description here"
55
readme = "README.md"
@@ -29,4 +29,7 @@ Homepage = "https://github.com/microsoft/teams.py/tree/main/packages/common"
2929

3030
[build-system]
3131
requires = ["hatchling"]
32-
build-backend = "hatchling.build"
32+
build-backend = "hatchling.build"
33+
34+
[tool.hatch.build.targets.wheel]
35+
packages = ["src/microsoft"]

packages/common/src/common/http/client.py renamed to packages/common/src/microsoft/teams/common/http/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
from httpx._models import Request, Response
1313
from httpx._types import QueryParamTypes, RequestContent, RequestData, RequestFiles
1414

15-
from common.http.client_token import Token, resolve_token
16-
from common.http.interceptor import Interceptor, InterceptorRequestContext, InterceptorResponseContext
17-
from common.logging import ConsoleLogger
15+
from ..logging import ConsoleLogger
16+
from .client_token import Token, resolve_token
17+
from .interceptor import Interceptor, InterceptorRequestContext, InterceptorResponseContext
1818

1919
console_logger = ConsoleLogger()
2020

0 commit comments

Comments
 (0)