From 8a02e1f8b815958c41a9acf85810f9270ee6f965 Mon Sep 17 00:00:00 2001 From: benefactarch Date: Sun, 28 Apr 2024 12:07:31 -0400 Subject: [PATCH] fix: no /usr/local fallback --- COVERAGE.md | 4 ++-- src/hatch_cython/config/defaults.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/COVERAGE.md b/COVERAGE.md index a565cbe..9c92903 100644 --- a/COVERAGE.md +++ b/COVERAGE.md @@ -4,7 +4,7 @@ | src/hatch_cython/config/\_\_init\_\_.py | 2 | 0 | 0 | 0 | 100% | | src/hatch_cython/config/autoimport.py | 9 | 0 | 2 | 0 | 100% | | src/hatch_cython/config/config.py | 143 | 9 | 60 | 6 | 92% | -| src/hatch_cython/config/defaults.py | 30 | 5 | 12 | 2 | 79% | +| src/hatch_cython/config/defaults.py | 28 | 3 | 10 | 2 | 87% | | src/hatch_cython/config/files.py | 35 | 1 | 16 | 2 | 94% | | src/hatch_cython/config/flags.py | 70 | 1 | 24 | 0 | 99% | | src/hatch_cython/config/includes.py | 15 | 1 | 8 | 1 | 91% | @@ -17,4 +17,4 @@ | src/hatch_cython/plugin.py | 243 | 12 | 156 | 10 | 94% | | src/hatch_cython/temp.py | 13 | 0 | 2 | 0 | 100% | | src/hatch_cython/utils.py | 44 | 4 | 20 | 1 | 89% | -| **TOTAL** | **780** | **42** | **371** | **30** | **93%** | +| **TOTAL** | **778** | **40** | **369** | **30** | **94%** | diff --git a/src/hatch_cython/config/defaults.py b/src/hatch_cython/config/defaults.py index aa2a973..6432b00 100644 --- a/src/hatch_cython/config/defaults.py +++ b/src/hatch_cython/config/defaults.py @@ -20,8 +20,6 @@ def brew_path(): if dec and dec != "": return dec return "/opt/homebrew" if aarch() == "arm64" else "/usr/local" - elif plat() in POSIX_CORE: - return "/usr/local" def get_default_link():