Skip to content

Commit 689259b

Browse files
authored
fix: make pyproject include includes into wheel too (#7026)
1 parent 2638f0f commit 689259b

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

pyproject.toml

+12-13
Original file line numberDiff line numberDiff line change
@@ -126,24 +126,23 @@ packages = [
126126
{ include = "label_studio" },
127127
]
128128
include = [
129-
"web/dist/libs/datamanager/**/*",
130-
"web/dist/libs/editor/**/*",
131-
"web/dist/apps/labelstudio/**/*",
132-
"label_studio/annotation_templates/**/*",
133-
"label_studio/core/static/**/*",
134-
"label_studio/core/static_build/**/*",
135-
"label_studio/core/utils/schema/*.json",
136-
"label_studio/core/templatetags/*.py",
137-
"label_studio/core/version_.py",
138-
"label_studio/core/all_urls.json",
139-
"label_studio/io_storages/**/*.yml",
129+
{ path = "web/dist/libs/datamanager/**/*", format = ["sdist", "wheel"] },
130+
{ path = "web/dist/libs/editor/**/*", format = ["sdist", "wheel"] },
131+
{ path = "web/dist/apps/labelstudio/**/*", format = ["sdist", "wheel"] },
132+
{ path = "label_studio/annotation_templates/**/*", format = ["sdist", "wheel"] },
133+
{ path = "label_studio/core/static/**/*", format = ["sdist", "wheel"] },
134+
{ path = "label_studio/core/static_build/**/*", format = ["sdist", "wheel"] },
135+
{ path = "label_studio/core/utils/schema/*.json", format = ["sdist", "wheel"] },
136+
{ path = "label_studio/core/templatetags/*.py", format = ["sdist", "wheel"] },
137+
{ path = "label_studio/core/version_.py", format = ["sdist", "wheel"] },
138+
{ path = "label_studio/core/all_urls.json", format = ["sdist", "wheel"] },
139+
{ path = "label_studio/io_storages/**/*.yml", format = ["sdist", "wheel"] },
140140
]
141141

142142
exclude = [
143-
"label_studio/frontend",
143+
{ path = "label_studio/frontend", format = ["sdist", "wheel"] },
144144
]
145145

146-
147146
[tool.poetry.scripts]
148147
label-studio = "label_studio.server:main"
149148

0 commit comments

Comments
 (0)