Skip to content

Conversation

@enryH
Copy link
Collaborator

@enryH enryH commented Feb 24, 2025

Start figuring out if and how it is possible to have installers for different OS available, that

  • allow to create the report files
  • and start a streamlit server

Adding executables to the list of programs seems a bit tricky. But to see.

  • check if quarto can be bundled
  • revert Python Actions to test against all major Python versions
  • link released executables somehow: probably using gh release edit commands, but to be tested with releases

enryH added 16 commits February 24, 2025 11:20
- sys.exectuable is vuegen script, not the original Python Interpreter
 -> not easy to run `pthon -m streamlit run file.py`
- manually starting and building streamlit_run command does not connect to browser atm
- network URL assigned.
- localhost not on port 3000, but 8501 it seems
- keep also subprocess option in code for local development
import st_aggrid
but
pip install streamlit-aggrid

it is a "hidden" import as the main script is not using it (as pyvis or streamlit itself)
- some form of binaries have to be passed, along addtional dependencies
- can start streamlit when not package as exectuable from GUI
- use grid to define layout

ToDo: Move to class-based layout
- creates relative large executable (740 MB)
@enryH enryH changed the title Os installers Os standalone installers (with a GUI) Mar 3, 2025
- before the existence was just tested, leading to always True (?)
enryH added 2 commits March 12, 2025 17:58
- logging.basicConfig only has an effect the first time
- executed from GUI, the logs were created but empty the second time
enryH and others added 18 commits March 13, 2025 15:13
- read-only situation of result directories: One cannot always write to directory which contains the results if -dir option is used
- ✨ Return paths for easier reporting
- adapt example notebooks accordingly
- On windows the Path set by the user globally are probably seen (it seems)
- check if a path is set for directory dialog, if not start at home directory
- otherwise bundled quarto is set twice if python env is selected
- for debugging do not build windowed app for now
- only require users to setup python environment once
- 📝 start describing how to use bundled app
…export of altair fig

- address windows pandoc issue: "pandoc: openBinaryFile: does not exist (No such file or directory)"
- add library vl-convert-python needed for altair fig exported as static png
- handlers were not reset if not root logger was used
- api changes needed to be reflected in docs.
- format docs
- enforce using action
- time zone names on windows are too long
- onefile on Windows should lead to only one exe
- see if option leads to okay option for .app on MAC
-------
logging.Logger
An initialized logger instance.
tuple[logging.Logger, str
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

closing bracket?

# optional
fname = fname.replace(":", "-") # remove ':' from hours, minutes, seconds
# POSTCONDITIONALS
parts = fname.split("_")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sayalaruano is it okay to delete? I did not see that the check is necessary

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just do it.

@enryH enryH mentioned this pull request Mar 20, 2025
4 tasks
@enryH enryH merged commit 99e38d9 into main Mar 20, 2025
16 checks passed
@enryH enryH deleted the os_installers branch March 21, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quarto execution errors are not propagated Add output folder as parameter

3 participants