diff --git a/.github/workflows/build-and-release-dev.yml b/.github/workflows/build-and-release-dev.yml index 9cc11a7cff..da379c371c 100644 --- a/.github/workflows/build-and-release-dev.yml +++ b/.github/workflows/build-and-release-dev.yml @@ -110,6 +110,11 @@ jobs: run: | cp tools/gui/generate_pyi.py pyi_temp.py && pipenv run python pyi_temp.py && rm pyi_temp.py + - name: Build frontends + if: matrix.package == 'gui' + run: | + python tools/frontend/bundle_build.py + - name: Build Package Structure working-directory: ${{ steps.set-variables.outputs.package_dir }} run: | diff --git a/taipy/gui/MANIFEST.in b/taipy/gui/MANIFEST.in index b55c64a825..8bed1ec99f 100644 --- a/taipy/gui/MANIFEST.in +++ b/taipy/gui/MANIFEST.in @@ -1,7 +1,7 @@ recursive-include tools * # Package taipy-gui -recursive-include webapp * +recursive-include taipy-gui/webapp * include version.json include viselements.json include *.pyi diff --git a/tools/release/build_package_structure.py b/tools/release/build_package_structure.py index fbe0960433..66efd5d26b 100644 --- a/tools/release/build_package_structure.py +++ b/tools/release/build_package_structure.py @@ -27,8 +27,3 @@ if file_name.lower().endswith((".md", ".json")) or file_name in __SKIP: continue shutil.move(file_name, _package_path) - - for file_name in os.listdir("../"): - if os.path.isdir(file_name): - continue - shutil.move(file_name, ".")