Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3ffafd5

Browse files
author
Eric Hennenfent
authoredJun 6, 2019
Revert Unicorn Dependency Update (#1459)
* Partial revert for Unicorn Dependency Update * re-blacken Okay fine I fixed it. Happy?
1 parent a0cca2f commit 3ffafd5

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed
 

‎Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LABEL dockerfile_maintenance=trailofbits
77

88
ENV LANG C.UTF-8
99

10-
RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install python3 python3-pip git wget python
10+
RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install python3 python3-pip git wget
1111

1212
# Install solc 0.4.25 and validate it
1313
RUN wget https://github.com/ethereum/solidity/releases/download/v0.4.25/solc-static-linux \

‎scripts/travis_install.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ function install_mcore {
1616
EXTRAS="dev"
1717
fi
1818

19-
# Unicorn needs python2
20-
export UNICORN_QEMU_FLAGS="--python=/usr/bin/python"
21-
22-
pip install -I --no-binary keystone-engine -e .[$EXTRAS] # ks can have pip install issues
19+
pip install --no-binary keystone-engine -e .[$EXTRAS] # ks can have pip install issues
2320
}
2421

2522
function install_cc_env {
@@ -46,3 +43,4 @@ if [ "$1" != "env" ]; then
4643
install_mcore $1
4744
fi
4845
fi
46+

‎setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ def rtd_dependent_deps():
1414

1515
# If you update native_deps please update the `REQUIREMENTS_TO_IMPORTS` dict in `utils/install_helper.py`
1616
# (we need to know how to import a given native dependency so we can check if native dependencies are installed)
17-
native_deps = [
18-
"capstone==4.0.1",
19-
"pyelftools",
20-
"unicorn @ git+https://github.com/unicorn-engine/unicorn.git@778171fc9546c1fc3d1341ff1151eab379848ea0#subdirectory=bindings/python&egg=unicorn-1.0.1.post0",
21-
]
17+
native_deps = ["capstone==4.0.1", "pyelftools", "unicorn"]
2218

2319
extra_require = {
2420
"native": native_deps,

0 commit comments

Comments
 (0)
Please sign in to comment.