server build to pyz now
This commit is contained in:
parent
9c175269b1
commit
d722ea7cbb
4 changed files with 7 additions and 2 deletions
4
server/build.sh
Executable file
4
server/build.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
mkdir -p dest
|
||||
python3 -m zipapp src -o dest/script.pyz
|
|
@ -3,4 +3,4 @@
|
|||
HOST=localhost
|
||||
PORT=8000
|
||||
|
||||
python3 src/main.py $HOST:$PORT
|
||||
python3 src/__main__.py $HOST:$PORT
|
Loading…
Add table
Add a link
Reference in a new issue