Skip to content

Commit

Permalink
chore: include version.json explicitly in MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoandre-avaiga committed Aug 28, 2024
1 parent 7a44f5c commit 2e63f15
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ jobs:
- name: Build package
working-directory: ${{ steps.set-variables.outputs.package_dir }}
run: |
pwd
ls -lah
python -m build
for file in ./dist/*; do mv "$file" "${file//_/-}"; done
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ Download = "https://pypi.org/project/taipy/#files"
Tracker = "https://github.com/Avaiga/taipy/issues"
Security = "https://github.com/Avaiga/taipy?tab=security-ov-file#readme"

[tool.setuptools]
include-package-data = true


[tool.ruff]
exclude = [
".git",
Expand Down
9 changes: 6 additions & 3 deletions taipy/config/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ dynamic = ["version", "dependencies"]
[project.optional-dependencies]
testing = ["pytest>=3.8"]

[tool.setuptools]
include-package-data = true

[tool.setuptools.package-data]
include = ["**/*.json", "**/*.pyi"]

[tool.setuptools.packages]
find = {include = ["taipy", "taipy.config", "taipy.config.*", "taipy.logger", "taipy.logger.*"]}

[project.urls]
homepage = "https://github.com/avaiga/taipy"

[tool.setuptools.data-files]
"version" = ["version.json"]
1 change: 1 addition & 0 deletions tools/packages/taipy-config/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include taipy/config/*.pyi
include taipy/config/*.json
include *.json
include version.json
include taipy/config/setup.requirements.txt
include package_desc.md

0 comments on commit 2e63f15

Please sign in to comment.