Install poetry, tested with poetry version 1.2.0rc2
.
curl -sSL https://install.python-poetry.org | python - --preview
Install dependencies:
poetry install
If you want to include extra dependencies edit the pyproject.toml
file.
If you have changed any dependencies run the following:
poetry update
poetry export -f requirements.txt --output requirements.txt
Update enopios/app/index.py
if you want to have a different streamlit script than the bare-bones hello world.
Build the executable:
poetry run pyoxidizer build
Run the newly created executable:
./build/dist/enopios
Build the Electron app:
poetry run enopios build
The executable will be in js/app/dist/
.