diff --git a/setup.py b/setup.py index e0e2572b98607..8da207b71339f 100644 --- a/setup.py +++ b/setup.py @@ -133,22 +133,11 @@ def _env_bool_value(env_name, default): # present, then it will still attempt to use Cython. BUILD_WITH_CYTHON = _env_bool_value('GRPC_PYTHON_BUILD_WITH_CYTHON', 'False') -# Currently, boringssl does not support macOS arm64, so we try to use the system -# installation of openssl to build gRPC locally by default. -if "darwin" in sys.platform and "arm64" == platform.machine().lower(): - sys.stderr.write( - "Boringssl currently does not support macOS arm64, so we'll try to use the system installation " - "of 'openssl' to build by default, make sure you have 'openssl' installed in this case\n" - ) - BUILD_WITH_SYSTEM_OPENSSL_DEFAULT_ENV = "True" -else: - BUILD_WITH_SYSTEM_OPENSSL_DEFAULT_ENV = "False" - # Export this variable to use the system installation of openssl. You need to # have the header files installed (in /usr/include/openssl) and during # runtime, the shared library must be installed -BUILD_WITH_SYSTEM_OPENSSL = _env_bool_value( - 'GRPC_PYTHON_BUILD_SYSTEM_OPENSSL', BUILD_WITH_SYSTEM_OPENSSL_DEFAULT_ENV) +BUILD_WITH_SYSTEM_OPENSSL = _env_bool_value('GRPC_PYTHON_BUILD_SYSTEM_OPENSSL', + 'False') # Export this variable to use the system installation of zlib. You need to # have the header files installed (in /usr/include/) and during