server build to pyz now

This commit is contained in:
MeexReay 2024-12-22 17:38:53 +03:00
parent 9c175269b1
commit d722ea7cbb
4 changed files with 7 additions and 2 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
server/__pycache__/
server/src/__pycache__/
client/dest
server/dest/
client/dest/

4
server/build.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
mkdir -p dest
python3 -m zipapp src -o dest/script.pyz

View file

@ -3,4 +3,4 @@
HOST=localhost
PORT=8000
python3 src/main.py $HOST:$PORT
python3 src/__main__.py $HOST:$PORT