Skip to content

Commit 87c29f6

Browse files
committed
uv: Add PYTHONUSERBASE env to uv
Adding the PYTHONUSERBASE env variable to uv the same as python3.hcl allowing better compatibility between existing python/pip and uv, allowing the one to use both pip and uv inter-changablity.
1 parent 9085bec commit 87c29f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

uv.hcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ description = "An extremely fast Python package installer and resolver, written
22
binaries = ["*"]
33
homepage = "https://astral.sh/"
44
strip = 1
5+
env = {
6+
"PYTHONUSERBASE": "${HERMIT_ENV}/.hermit/python",
7+
}
58

69
platform "darwin" {
710
source = "https://github.com/astral-sh/uv/releases/download/${version}/uv-${xarch}-apple-darwin.tar.gz"

0 commit comments

Comments
 (0)