Skip to content

Commit 6f43043

Browse files
author
lilydu
committed
setup api package
1 parent beee230 commit 6f43043

File tree

8 files changed

+107
-5
lines changed

8 files changed

+107
-5
lines changed

packages/api/README.md

Whitespace-only changes.

packages/api/pyproject.toml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[project]
2+
name = "api"
3+
version = "0.0.0"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
repository = "https://github.com/microsoft/teams.py"
7+
keywords = ["microsoft", "teams", "ai", "bot", "agents"]
8+
license = "MIT"
9+
authors = [
10+
{ name = "Microsoft", email = "[email protected]" }
11+
]
12+
requires-python = ">=3.12"
13+
dependencies = [
14+
"coverage>=7.8.0",
15+
"httpx>=0.28.1",
16+
"pytest>=8.3.5",
17+
"ruff>=0.11.5",
18+
]
19+
20+
[dependency-groups]
21+
dev = [
22+
"pytest>=8.4.0",
23+
"pytest-asyncio>=1.0.0",
24+
]
25+
26+
[project.urls]
27+
Homepage = "https://github.com/microsoft/teams.py/tree/main/packages/api"
28+
29+
30+
[build-system]
31+
requires = ["hatchling"]
32+
build-backend = "hatchling.build"

packages/api/src/api/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""
2+
Copyright (c) Microsoft Corporation. All rights reserved.
3+
Licensed under the MIT License.
4+
"""

packages/api/src/api/py.typed

Whitespace-only changes.

packages/cards/pyproject.toml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
11
[project]
22
name = "cards"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
description = "Add your description here"
55
readme = "README.md"
6+
repository = "https://github.com/microsoft/teams.py"
7+
keywords = ["microsoft", "teams", "ai", "bot", "agents"]
8+
license = "MIT"
69
authors = [
7-
{ name = "lilydu", email = "lilydu+odspmdb@microsoft.com" }
10+
{ name = "Microsoft", email = "teams@microsoft.com" }
811
]
912
requires-python = ">=3.12"
1013
dependencies = [
1114
"coverage>=7.8.0",
15+
"httpx>=0.28.1",
1216
"pytest>=8.3.5",
1317
"ruff>=0.11.5",
1418
]
1519

20+
[dependency-groups]
21+
dev = [
22+
"pytest>=8.4.0",
23+
"pytest-asyncio>=1.0.0",
24+
]
25+
26+
[project.urls]
27+
Homepage = "https://github.com/microsoft/teams.py/tree/main/packages/cards"
28+
29+
1630
[build-system]
1731
requires = ["hatchling"]
1832
build-backend = "hatchling.build"
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
def hello() -> str:
2-
return "Hello from cards!"
1+
"""
2+
Copyright (c) Microsoft Corporation. All rights reserved.
3+
Licensed under the MIT License.
4+
"""

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ dependencies = [
88
"common",
99
"cards",
1010
"pytest-asyncio>=1.0.0",
11+
"api"
1112
]
1213

1314
[tool.uv.sources]
1415
common = { workspace = true }
1516
cards = { workspace = true }
17+
api = { workspace = true }
1618

1719
[tool.uv.workspace]
1820
members = ["packages/*"]

uv.lock

Lines changed: 49 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)