Skip to content

Commit

Permalink
Merge pull request #1770 from Avaiga/fix/config-build
Browse files Browse the repository at this point in the history
Add _cli package to config's pyproject and setup.py
  • Loading branch information
joaoandre-avaiga authored Sep 10, 2024
2 parents a23f5d2 + 41135bc commit 5999ac3
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-release-single-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ jobs:
python -m build
- name: Rename files
working-directory: ${{ steps.set-variables.outputs.package_dir }}
run: |
for file in ./dist/*; do mv "$file" "${file//_/-}"; done
Expand Down
2 changes: 1 addition & 1 deletion taipy/config/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dynamic = ["version", "dependencies"]
testing = ["pytest>=3.8"]

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

[project.urls]
homepage = "https://github.com/avaiga/taipy"
12 changes: 11 additions & 1 deletion taipy/config/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,17 @@
setup(
version=version_string,
install_requires=requirements,
packages=find_namespace_packages(where=".") + find_packages(include=["taipy", "taipy.config", "taipy.config.*", "taipy.logger", "taipy.logger.*"]),
packages=find_namespace_packages(where=".")+ find_packages(
include=[
"taipy",
"taipy.config",
"taipy.config.*",
"taipy.logger",
"taipy.logger.*",
"taipy._cli",
"taipy._cli.*"
]
),
include_package_data=True,
data_files=[('version', ['version.json'])],
tests_require=test_requirements,
Expand Down
2 changes: 1 addition & 1 deletion taipy/config/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev2"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev3"}
2 changes: 1 addition & 1 deletion taipy/core/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev2"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev3"}
2 changes: 1 addition & 1 deletion taipy/gui/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev2"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev3"}
2 changes: 1 addition & 1 deletion taipy/rest/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev2"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev3"}
2 changes: 1 addition & 1 deletion taipy/templates/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev2"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev3"}
2 changes: 1 addition & 1 deletion taipy/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"major": 4, "minor": 0, "patch": 0, "ext": "dev2"}
{"major": 4, "minor": 0, "patch": 0, "ext": "dev3"}

0 comments on commit 5999ac3

Please sign in to comment.