Sfoglia il codice sorgente

chore: add MANIFEST.in to gui package

Joao Andre 1 anno fa
parent
commit
2fcb13f21d
2 ha cambiato i file con 16 aggiunte e 1 eliminazioni
  1. 11 1
      .github/workflows/build-and-release-dev.yml
  2. 5 0
      taipy/gui/MANIFEST.in

+ 11 - 1
.github/workflows/build-and-release-dev.yml

@@ -98,7 +98,17 @@ jobs:
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          pip install build wheel
+          pip install build wheel pipenv mypy black isort
+
+      - name: Install GUI dependencies
+        if: matrix.package == 'gui'
+        run: |
+          pipenv install --dev --verbose
+
+      - name: Generate GUI pyi file
+        if: matrix.package == 'gui'
+        run: |
+          cp tools/gui/generate_pyi.py pyi_temp.py && pipenv run python pyi_temp.py && rm pyi_temp.py
 
       - name: Build package
         working-directory: ${{ steps.set-variables.outputs.package_dir }}

+ 5 - 0
taipy/gui/MANIFEST.in

@@ -0,0 +1,5 @@
+# Package taipy-gui
+recursive-include webapp *
+include version.json
+include viselements.json
+include *.pyi