Skip to content

Commit 4828da9

Browse files
committed
fix poetry inclusion of generated files
1 parent fd0e2cf commit 4828da9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ classifiers = [
2626
]
2727
repository = "https://github.com/togethercomputer/together-python"
2828
homepage = "https://github.com/togethercomputer/together-python"
29+
packages = [
30+
{ include = "together", from = "src" },
31+
{ include = "together/generated/**/*.py", from = "src" }
32+
]
2933

3034
[tool.poetry.dependencies]
3135
python = "^3.9"

src/together/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
constants,
1010
error,
1111
filemanager,
12-
generated,
1312
resources,
1413
together_response,
1514
types,
@@ -55,7 +54,6 @@
5554
"Client",
5655
"AsyncClient",
5756
"resources",
58-
"generated",
5957
"types",
6058
"abstract",
6159
"filemanager",

0 commit comments

Comments
 (0)