Skip to content

Commit

Permalink
fix: Include static files into pypi package (HumanSignal#5071)
Browse files Browse the repository at this point in the history
  • Loading branch information
triklozoid authored Nov 22, 2023
1 parent e0dd326 commit 6f25760
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,26 @@ homepage = "https://github.com/heartexlabs/label-studio"
packages = [
{ include = "label_studio" },
]
include = [
"deploy/requirements.txt",
"label_studio/frontend/dist/react-app/*",
"label_studio/frontend/dist/lsf/**/*",
"label_studio/frontend/dist/dm/**/*",
"label_studio/annotation_templates/**/*",
"label_studio/core/static/**/*",
"label_studio/core/static_build/**/*",
"label_studio/core/utils/schema/*.json",
"label_studio/core/templatetags/*.py",
"label_studio/core/version_.py",
"label_studio/core/all_urls.json",
"label_studio/io_storages/**/*.yml",
]

exclude = [
"label_studio/frontend/node_modules/**/*",
"label_studio/frontend/build-tmp/**/*"
]


[tool.poetry.scripts]
label-studio = "label_studio.server:main"
Expand Down

0 comments on commit 6f25760

Please sign in to comment.