Strip out transitive pypi sourced sources
This commit is contained in:
parent
ea9c274cf4
commit
bdf31076a7
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ def _zapp_impl(ctx):
|
|||
# TODO: also handle ctx.attr.src.data_runfiles.symlinks
|
||||
srcs = [
|
||||
f for f in ctx.attr.src.default_runfiles.files.to_list()
|
||||
# Strip out transitive sources from PyPi archives
|
||||
if f.path.find("/pypi__") == -1
|
||||
]
|
||||
|
||||
# Find the list of directories to add to sys
|
||||
|
|
Loading…
Reference in a new issue