server build to pyz now
This commit is contained in:
parent
9c175269b1
commit
d722ea7cbb
4 changed files with 7 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
server/__pycache__/
|
server/__pycache__/
|
||||||
server/src/__pycache__/
|
server/src/__pycache__/
|
||||||
client/dest
|
server/dest/
|
||||||
|
client/dest/
|
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
|
HOST=localhost
|
||||||
PORT=8000
|
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