Skip to content

Commit d29165c

Browse files
make python compat package publishable
1 parent 4323b47 commit d29165c

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

compat/agora-agent-server-sdk/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ pip install agora-agents
99
```
1010

1111
This compatibility package is kept only to preserve the legacy distribution name during the migration window. It depends on `agora-agents`, which continues to provide the `agora_agent` Python import path.
12+
13+
It intentionally contains only a minimal compatibility module so the distribution can be built and published cleanly with Poetry.

compat/agora-agent-server-sdk/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ classifiers = [
2626
"Topic :: Software Development :: Libraries :: Python Modules",
2727
"Typing :: Typed"
2828
]
29+
packages = [
30+
{ include = "agora_agent_server_sdk_compat", from = "src"}
31+
]
2932

3033
[tool.poetry.urls]
3134
Repository = 'https://github.com/AgoraIO-Conversational-AI/agent-server-sdk-python'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Compatibility package for the renamed agora-agents distribution."""

0 commit comments

Comments
 (0)