Commit a3842355 authored by talljosh's avatar talljosh

More work on trying to get server running as a Windows executable.

parent 2c2c17476380
......@@ -169,7 +169,7 @@ def build_exe(script_name, datas=(), hiddenimports=(), excludes=(), exe_name=Non
hiddenimports=hiddenimports,
hookspath=[],
runtime_hooks=[],
excludes=['numpy', 'PIL', 'sqlparse', 'matplotlib', 'PyQt5'] + list(excludes),
excludes=['numpy', 'PIL', 'matplotlib', 'PyQt5'] + list(excludes),
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
......
......@@ -24,9 +24,8 @@ if 'twisted.internet.reactor' in sys.modules:
del sys.modules['twisted.internet.reactor']
# Install the asyncio reactor as early as possible
import asyncio
from twisted.internet import asyncioreactor
asyncioreactor.install(asyncio.get_event_loop())
from trosnoth import qtreactor
qtreactor.declare_this_module_requires_asyncio_reactor()
# Init django environment for writing to database
import os
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment