Skip to content

Commit

Permalink
Merge pull request #3 from georgeliaw/universal-wheels
Browse files Browse the repository at this point in the history
switch to building universal wheels
  • Loading branch information
georgeliaw authored Feb 16, 2019
2 parents bafa1ff + f58139b commit 9426c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wheel/wheel.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _bdist_wheel_impl(ctx):
+ "&& cp {setup_py_path} {setup_py_dest_dir} " \
+ "&& cp {manifest_path} {setup_py_dest_dir} " \
+ "&& cd {setup_py_dest_dir} " \
+ "&& python setup.py bdist_wheel --dist-dir {dist_dir} "
+ "&& python setup.py bdist_wheel --universal --dist-dir {dist_dir} "

ctx.actions.run_shell(
mnemonic="BuildWheel",
Expand Down Expand Up @@ -148,7 +148,7 @@ _bdist_wheel_attrs = {
}

_bdist_wheel_outputs = {
"wheel": "%{name}-%{version}-py2-none-%{platform}.whl",
"wheel": "%{name}-%{version}-py2.py3-none-%{platform}.whl",
"setup_py": "%{name}/setup.py",
"manifest": "%{name}/MANIFEST.in"
}
Expand Down

0 comments on commit 9426c06

Please sign in to comment.