mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
Compile pefile from source
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ WORKDIR /qiling
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends unzip apt-utils \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& pip3 install wheels/*.whl \
|
||||
&& pip3 install --no-deps wheels/*.whl \
|
||||
&& rm -rf wheels
|
||||
|
||||
ENV HOME /qiling
|
||||
|
||||
@@ -15,12 +15,13 @@ VERSION = gb['__version__']
|
||||
requirements = [
|
||||
"capstone>=4.0.1",
|
||||
"unicorn>=2.0.0-rc7",
|
||||
"pefile>=2021.9.3",
|
||||
"pefile @ https://github.com/erocarrera/pefile/archive/refs/heads/master.zip",
|
||||
"python-registry>=1.3.1",
|
||||
"keystone-engine>=0.9.2",
|
||||
"pyelftools>=0.28",
|
||||
"gevent>=20.9.0",
|
||||
"multiprocess>=0.70.12.2",
|
||||
"windows-curses>=2.1.0;platform_system=='Windows'",
|
||||
"pyyaml>=6.0"
|
||||
]
|
||||
|
||||
@@ -43,22 +44,14 @@ extras = {
|
||||
"cmd2"
|
||||
],
|
||||
"fuzz" : [
|
||||
|
||||
"unicornafl>=2.0.0;platform_system=='Windows'",
|
||||
"fuzzercorn>=0.0.1;platform_system=='Linux'"
|
||||
]
|
||||
}
|
||||
|
||||
with open("README.md", "r", encoding="utf-8") as ld:
|
||||
long_description = ld.read()
|
||||
|
||||
if "win32" in sys.platform:
|
||||
requirements += ["windows-curses>=2.1.0"]
|
||||
|
||||
if "win32" not in sys.platform:
|
||||
extras["fuzz"] += ["unicornafl>=2.0.0"]
|
||||
|
||||
if "linux" in sys.platform:
|
||||
extras["fuzz"] += ["fuzzercorn>=0.0.1"]
|
||||
|
||||
setup(
|
||||
name='qiling',
|
||||
version=VERSION,
|
||||
|
||||
Reference in New Issue
Block a user