Skip to content

Commit

Permalink
revert to previous pyproject.toml and install.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyydu committed Jan 7, 2025
1 parent a20f95d commit 9ce4dae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
19 changes: 7 additions & 12 deletions python/packages/ai/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
[project]
name = "teams-ai"
description = "SDK focused on building AI based applications for Microsoft Teams."
authors = [{ name = "Microsoft", email = "teams@microsoft.com" }]
keywords = ["microsoft", "teams", "ai", "bot"]
readme = "README.md"
urls = {"GitHub"= "https://github.com/microsoft/teams-ai", "Microsoft Learn"= "https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/teams%20conversational%20ai/teams-conversation-ai-overview"}
dynamic = ["version", "dependencies", "requires-python"]

[tool.poetry]
name = "teams-ai"
version = "1.5.0"
description = "SDK focused on building AI based applications for Microsoft Teams."
authors = ["Microsoft <teams@microsoft.com>"]
version = "1.5.0"
readme = "README.md"
repository = "https://github.com/microsoft/teams-ai"
documentation = "https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/teams%20conversational%20ai/teams-conversation-ai-overview"
keywords = ["microsoft", "teams", "ai", "bot"]
packages = [
{ include = "teams" },
{ include = "tests" }
Expand Down Expand Up @@ -43,7 +38,7 @@ isort = "^5.12.0"
mypy = "^1.5.0"
httpx = "^0.26.0"

[project.scripts]
[tool.poetry.scripts]
lint = "scripts:lint"
fmt = "scripts:fmt"
test = "scripts:test"
Expand Down Expand Up @@ -77,4 +72,4 @@ warn_unused_ignores = true

[[tool.mypy.overrides]]
module = "tests.*"
disable_error_code = ["var-annotated", "method-assign"]
disable_error_code = ["var-annotated", "method-assign"]
4 changes: 2 additions & 2 deletions python/scripts/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
for e in Path("./packages").glob("*"):
if e.is_dir():
print("------ Package[" + e.name + "] ------")
subprocess.run(["poetry", "lock"], cwd=e.absolute(), check=True)
subprocess.run(["poetry", "lock", "--no-update"], cwd=e.absolute(), check=True)
subprocess.run(["poetry", "install"], cwd=e.absolute(), check=True)

for e in Path("./samples").glob("*"):
if e.is_dir():
print("------ Sample[" + e.name + "] ------")
subprocess.run(["poetry", "lock"], cwd=e.absolute(), check=True)
subprocess.run(["poetry", "lock", "--no-update"], cwd=e.absolute(), check=True)
subprocess.run(["poetry", "install"], cwd=e.absolute(), check=True)

0 comments on commit 9ce4dae

Please sign in to comment.