removed websockets from requirements.txr,

fixed return code of daemon,
removed websockets from hidden imports of superscript.spec
This commit is contained in:
Arthur Lu 2021-10-16 20:28:57 +00:00
parent ab13e10271
commit 828e45844e
3 changed files with 2 additions and 4 deletions

View File

@ -559,7 +559,7 @@ def start(pid_path, verbose = False, profile = False, debug = False):
exit_code = main(send) exit_code = main(send)
socket.close() socket.close()
f.close() f.close()
sys.exit() sys.exit(exit_code)
def stop(pid_path): def stop(pid_path):
try: try:

View File

@ -10,8 +10,6 @@ a = Analysis(['superscript.py'],
"dnspython", "dnspython",
"sklearn.utils._weight_vector", "sklearn.utils._weight_vector",
"requests", "requests",
"websockets.legacy",
"websockets.legacy.server",
], ],
hookspath=[], hookspath=[],
runtime_hooks=[], runtime_hooks=[],

View File

@ -15,5 +15,5 @@ pandas
kivy==2.0.0rc2 kivy==2.0.0rc2
websockets pyzmq
python-daemon python-daemon