mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
setup: Fix the local .egg logic
This commit is contained in:
1 parent
ee526d07ac
commit
dfd5aec7b0
1 file changed
+5
-2
@@ -148,11 +148,14 @@ class FridaPrebuiltExt(build_ext):
|
||||
except Exception:
|
||||
print(errmsg.format(timeout))
|
||||
raise
|
||||
else:
|
||||
egg_url = None
|
||||
|
||||
egg_file = BytesIO(egg_data)
|
||||
|
||||
print("checking hash")
|
||||
check_pep503_hash(egg_file, egg_url)
|
||||
if egg_url is not None:
|
||||
print("checking hash")
|
||||
check_pep503_hash(egg_file, egg_url)
|
||||
|
||||
print("extracting prebuilt extension")
|
||||
egg_zip = zipfile.ZipFile(egg_file)
|
||||
|
||||
Reference in new issue
Block a user