Source code for skbuild.platform_specifics.osx

"""This module defines object specific to OSX platform."""

import sys
import textwrap

from . import unix


[docs]class OSXPlatform(unix.UnixPlatform): """OSX implementation of :class:`.abstract.CMakePlatform`.""" @property def generator_installation_help(self): """Return message guiding the user for installing a valid toolchain.""" return textwrap.dedent( """ Building MacOSX wheels for Python {pyver} requires XCode. Get it here: https://developer.apple.com/xcode/ """ ).format(pyver="%s.%s" % sys.version_info[:2]).strip()