Skip to content

Commit ca91d16

Browse files
committed
Fixed zmq and input interfaces on windows exe build
1 parent ff24994 commit ca91d16

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

lib/cfclient/utils/input/inputinterfaces/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
found_interfaces = [os.path.splitext(os.path.basename(f))[0] for
4545
f in glob.glob(os.path.dirname(__file__) + "/[A-Za-z]*.py")]
4646
if len(found_interfaces) == 0:
47-
found_readers = [os.path.splitext(os.path.basename(f))[0] for
47+
found_interfaces = [os.path.splitext(os.path.basename(f))[0] for
4848
f in glob.glob(os.path.dirname(__file__) +
4949
"/[A-Za-z]*.pyc")]
5050

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@
3939
"cfclient.ui.*",
4040
"cfclient.ui.tabs.*",
4141
"cfclient.ui.widgets.*",
42-
"cfclient.ui.dialogs.*"],
43-
"excludes": ["AppKit"],
42+
"cfclient.ui.dialogs.*",
43+
"cfclient.utils.input.inputreaders.*",
44+
"cfclient.utils.input.inputinterfaces.*",
45+
'zmq.backend.cython'],
46+
"excludes": ["AppKit", 'zmq.libzmq'],
47+
'dll_excludes': ['libzmq.pyd'],
4448
"skip_archive": True}})
4549

4650
toplevel_data_files.append('SDL2.dll')

0 commit comments

Comments
 (0)