Skip to content

Commit

Permalink
Update angr-management.spec to support library changes in pyzmq (#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin authored Aug 19, 2024
1 parent a85d863 commit 3564499
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions angr-management.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import pyvex
import pyxdia
import unicorn
import z3
import zmq

sys.setrecursionlimit(sys.getrecursionlimit() * 5)

Expand All @@ -26,6 +27,7 @@ PYVEX_BASE = pathlib.Path(pyvex.__file__).parent
PYXDIA_BASE = pathlib.Path(pyxdia.__file__).parent
UNICORN_BASE = pathlib.Path(unicorn.__file__).parent
Z3_BASE = pathlib.Path(z3.__file__).parent
ZMQ_BASE = pathlib.Path(zmq.__file__).parent

block_cipher = None
icon = str(AM_BASE / "angrmanagement" / "resources" / "images" / "angr.ico")
Expand All @@ -48,6 +50,7 @@ included_data = [
(str(CAPSTONE_BASE / "lib"), "capstone/lib"),
(str(Z3_BASE / "lib"), "z3/lib"),
(str(PYXDIA_BASE / "bin"), "pyxdia/bin"),
(str(ZMQ_BASE / "backend" / "cffi"), "zmq/backend/cffi"),
]


Expand All @@ -65,11 +68,6 @@ if sys.platform == "linux":

included_data.append((str(ARCHR_BASE / "implants"), "archr/implants"))
included_data.append((str(KEYSTONE_BASE), "keystone"))

if sys.platform != "darwin":
import zmq

ZMQ_BASE = pathlib.Path(zmq.__file__).parent
included_data.append((str(ZMQ_BASE / ".." / "pyzmq.libs"), "pyzmq.libs"))


Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ install_requires =
pygments
ipykernel>=4.1 # not a real dependency, but require the reference kernel
qtpy>=2.4.0
pyzmq>=17.1
pyzmq>=26.1.0
packaging

python_requires = >=3.10
Expand Down

0 comments on commit 3564499

Please sign in to comment.