Skip to content

Commit

Permalink
Commit before upstream merge
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Aug 21, 2023
1 parent 9cc7823 commit 3f8e93d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skbuild/command/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ def _make_wheelfile_inner(base_name, base_dir='.'):
def finalize_options(self, *args, **kwargs):
"""Ensure MacOSX wheels include the expected platform information."""
# pylint:disable=attribute-defined-outside-init,access-member-before-definition
import sys
if sys.platform == 'darwin' and self.plat_name is None and self.distribution.has_ext_modules():
# The default value is duplicated in setuptools_wrap
# pylint:disable=access-member-before-definition
import os
if "PLATFORM" in os.environ:
platform=os.environ["PLATFORM"]
else:
Expand Down

0 comments on commit 3f8e93d

Please sign in to comment.