Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/dmwyatt/pyinstaller into…
Browse files Browse the repository at this point in the history
… issue-110-zmq-hook
  • Loading branch information
htgoebel committed Jan 7, 2015
2 parents 6cf2d0f + de4ccbc commit 312f7f0
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions PyInstaller/hooks/hook-zmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,12 @@
Hook for PyZMQ. Cython based Python bindings for messaging library ZeroMQ.
http://www.zeromq.org/
"""


import glob
import os
import sys
from PyInstaller.hooks.hookutils import collect_submodules


hiddenimports = [
'zmq.core.pysocket',
'zmq.utils.jsonapi',
'zmq.utils.strtypes',
]
hiddenimports = []


def hook(mod):
Expand All @@ -42,4 +36,7 @@ def hook(mod):
mod.pyinstaller_binaries.append((name, bundled[0], 'BINARY'))
break

hiddenimports.extend(collect_submodules('zmq.backend'))
hiddenimports.append('zmq.utils.garbage')

return mod

0 comments on commit 312f7f0

Please sign in to comment.