Skip to content

Commit

Permalink
fix bad input
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeliaw committed Jan 9, 2019
1 parent d9ceab1 commit bafa1ff
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions wheel/wheel.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ def _bdist_wheel_impl(ctx):
manifest = _generate_manifest(ctx, package_name)

source_list = ' '.join([src.path for src in ctx.files.srcs])
transitive_files = depset([setup_py, manifest])
runfiles = ctx.runfiles(
collect_default=True,
transitive_files=transitive_files,
)

ctx.actions.run_shell(
mnemonic="CreateWorkDir",
Expand All @@ -81,7 +76,7 @@ def _bdist_wheel_impl(ctx):
ctx.actions.run_shell(
mnemonic="BuildWheel",
outputs=[ctx.outputs.wheel],
inputs=runfiles.files + [package_dir],
inputs=[src for src in ctx.files.srcs] + [package_dir, setup_py, manifest],
command=command.format(
source_list=source_list,
setup_py_path=ctx.outputs.setup_py.path,
Expand Down

0 comments on commit bafa1ff

Please sign in to comment.