mirror of
https://github.com/mandiant/capa.git
synced 2025-12-22 23:26:21 -08:00
dos2unix
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
|
||||
# in order for viv-utils to use pkg_resources to fetch
|
||||
# the installed version of vivisect,
|
||||
# we need to instruct pyinstaller to embed this metadata.
|
||||
#
|
||||
# so we set the pyinstaller.spec/hookspath to reference
|
||||
# the directory with this hook.
|
||||
#
|
||||
# this hook runs at analysis time and updates the embedded metadata.
|
||||
#
|
||||
# ref: https://github.com/pyinstaller/pyinstaller/issues/1713#issuecomment-162682084
|
||||
datas = copy_metadata("vivisect")
|
||||
from PyInstaller.utils.hooks import copy_metadata
|
||||
|
||||
# in order for viv-utils to use pkg_resources to fetch
|
||||
# the installed version of vivisect,
|
||||
# we need to instruct pyinstaller to embed this metadata.
|
||||
#
|
||||
# so we set the pyinstaller.spec/hookspath to reference
|
||||
# the directory with this hook.
|
||||
#
|
||||
# this hook runs at analysis time and updates the embedded metadata.
|
||||
#
|
||||
# ref: https://github.com/pyinstaller/pyinstaller/issues/1713#issuecomment-162682084
|
||||
datas = copy_metadata("vivisect")
|
||||
|
||||
Reference in New Issue
Block a user