Skip to content

Commit

Permalink
Remove wheel delocation for Darwin.
Browse files Browse the repository at this point in the history
I want to check if this generates an x86_64 or an aarch64 wheel.
Instead of a universal wheel.
  • Loading branch information
rturrado committed Jan 18, 2024
1 parent 37c007c commit fe145d8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ def run(self):
if platform.system() == "Darwin":
os.environ['MACOSX_DEPLOYMENT_TARGET'] = '11.0'
_bdist_wheel.run(self)
impl_tag, abi_tag, plat_tag = self.get_tag()
archive_basename = "{}-{}-{}-{}".format(self.wheel_dist_name, impl_tag, abi_tag, plat_tag)
wheel_path = os.path.join(self.dist_dir, archive_basename + '.whl')
if platform.system() == "Darwin":
from delocate.delocating import delocate_wheel
delocate_wheel(wheel_path)


class SDist(_sdist):
Expand Down

0 comments on commit fe145d8

Please sign in to comment.