Skip to content

Commit 54f8132

Browse files
committed
🐛 add typing extension to bundled version
- add a hint on what to do in case of errors
1 parent e9b3319 commit 54f8132

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/cdci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
- name: Build executable
156156
run: |
157157
cd gui
158-
pyinstaller -n vuegen_gui --onefile --windowed --collect-all pyvis --collect-all streamlit --collect-all st_aggrid --collect-all customtkinter --collect-all quarto_cli --collect-all plotly --collect-all _plotly_utils --collect-all traitlets --collect-all referencing --collect-all rpds --collect-all tenacity --collect-all pyvis --collect-all pandas --collect-all numpy --collect-all matplotlib --collect-all openpyxl --collect-all xlrd --collect-all nbformat --collect-all nbclient --collect-all altair --collect-all itables --collect-all kaleido --collect-all pyarrow --collect-all dataframe_image --collect-all narwhals --collect-all PIL --collect-all vl_convert --add-data ../docs/example_data/Basic_example_vuegen_demo_notebook:example_data/Basic_example_vuegen_demo_notebook --add-data ../docs/images/vuegen_logo.png:. app.py
158+
pyinstaller -n vuegen_gui --onefile --windowed --collect-all pyvis --collect-all streamlit --collect-all st_aggrid --collect-all customtkinter --collect-all quarto_cli --collect-all plotly --collect-all _plotly_utils --collect-all traitlets --collect-all referencing --collect-all rpds --collect-all tenacity --collect-all pandas --collect-all numpy --collect-all matplotlib --collect-all openpyxl --collect-all xlrd --collect-all nbformat --collect-all nbclient --collect-all altair --collect-all itables --collect-all kaleido --collect-all pyarrow --collect-all dataframe_image --collect-all narwhals --collect-all PIL --collect-all vl_convert --collect-all typing-extensions --add-data ../docs/example_data/Basic_example_vuegen_demo_notebook:example_data/Basic_example_vuegen_demo_notebook --add-data ../docs/images/vuegen_logo.png:. app.py
159159
# --windowed only for mac, see:
160160
# https://pyinstaller.org/en/stable/usage.html#building-macos-app-bundles
161161
# 'Under macOS, PyInstaller always builds a UNIX executable in dist.'

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ from the releases page according to your operating system.
206206

207207
```bash
208208
conda create -n vuegen_gui -c conda-forge python=3.12 jupyter
209+
# in case you have errors, install vuegen addtionally
210+
conda activate vuegen_gui
211+
pip install vuegen
212+
# list all conda environments to find the location of the environment
209213
conda info -e # find environment location
210214
```
211215

gui/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ bundle:
3737
--collect-all rpds \
3838
--collect-all tenacity \
3939
--collect-all vl_convert \
40+
--collect-all typing-extensions \
4041
--add-data ../docs/example_data/Basic_example_vuegen_demo_notebook:example_data/Basic_example_vuegen_demo_notebook \
4142
--add-data ../docs/images/vuegen_logo.png:. \
4243
app.py
@@ -80,7 +81,6 @@ bundle:
8081
# --collect-all urllib3 \
8182
# --collect-all uri-template \
8283
# --collect-all tzdata \
83-
# --collect-all typing-extensions\
8484
# --collect-all types-python-dateutil \
8585
# --collect-all traitlets \
8686
# --collect-all tornado \

0 commit comments

Comments
 (0)