15 sept 2025

sas-pro build

get the source:
git clone https://github.com/setiastro/setiastrosuitepro.git

setup the virtual environment
cd ~/setiastrosuitepro
python3.12 -m venv venv
. venv/bin/activate

install the requirements
pip install -r requirements.txt
pip install -e .

run from the source
At this point, the source is ready to run:
./venv/bin/python setiastrosuitepro.py

update
cd ~/setiastrosuitepro
git pull

go
./venv/bin/python setiastrosuitepro.py

 --- --- ---

But you may want to make an app to distribute to your friends who -shame- don't have a virtual environment, so...

Use Frank's latest setiastrosuitepro.spec (ask Franklin nicely)
Then it's:
pyistaller setiastrosuitepro.spec
prepare the .spec file
pyi-makespec --onefile setiastrosuitepro.py

test
Deep breath, then...

cd ~/setiastrosuitepro/dist
./setiastrosutepro

and, yeyhhh... You now have a single file which will work outside the venv.

please donate to help Franklin on his journey

No hay comentarios:

Publicar un comentario