Skip to content

Commit

Permalink
switch cp --parents to rsync to support osx
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeliaw committed Feb 27, 2018
1 parent 88f9116 commit f469cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wheel/wheel.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _bdist_wheel_impl(ctx):
manifest = _generate_manifest(ctx, package_name)

command = "mkdir -p {package_dir} " \
+ "&& cp --parents -t {package_dir} {source_list} " \
+ "&& rsync -R {source_list} {package_dir} " \
+ "&& cp {setup_py_path} {setup_py_dest_dir} " \
+ "&& cp {manifest_path} {setup_py_dest_dir} " \
+ "&& chmod 0777 {setup_py_dest_dir}/setup.py {setup_py_dest_dir}/MANIFEST.in " \
Expand Down

0 comments on commit f469cd1

Please sign in to comment.