Skip to content

Commit

Permalink
Merge pull request #272 from target/test-warning-fix
Browse files Browse the repository at this point in the history
Adding zip_safe flag to setuptools prevent "module references __file__" warnings
  • Loading branch information
phutelmyer authored Dec 30, 2022
2 parents fbeeb66 + 4de8987 commit 5aa4d99
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build/python/backend/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
description='strelka: container-based file analysis at scale',
license='Apache 2.0',
packages=setuptools.find_packages(),
scripts=['bin/strelka-backend']
scripts=['bin/strelka-backend'],
zip_safe=True
)
3 changes: 2 additions & 1 deletion build/python/mmrpc/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
description='strelka: container-based file analysis at scale',
license='Apache 2.0',
packages=setuptools.find_packages(),
scripts=['bin/strelka-mmrpc']
scripts=['bin/strelka-mmrpc'],
zip_safe=True
)
3 changes: 2 additions & 1 deletion src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
description='strelka: container-based file analysis at scale',
license='Apache 2.0',
packages=setuptools.find_packages(),
scripts=['bin/strelka-backend', 'bin/strelka-mmrpc']
scripts=['bin/strelka-backend', 'bin/strelka-mmrpc'],
zip_safe=True
)

0 comments on commit 5aa4d99

Please sign in to comment.