Skip to content

Commit b24a4df

Browse files
committed
Update 1 code files
Modified: • build_hooks.py (+2/-0 lines) [gitship-generated]
1 parent b101b1e commit b24a4df

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build_hooks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
build-backend = "build_hooks"
1111
backend-path = ["."] ← tells pip to look in repo root for this module
1212
"""
13+
import sys, os
14+
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
1315
# Compatibility shim for Python < 3.11 — locale.getencoding() added in 3.11
1416
# Without this, packaging/_musllinux.py crashes in manylinux containers
1517
import locale

0 commit comments

Comments
 (0)