mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
formula: add PIP_CACHE_DIR
to build env
This commit is contained in:
parent
aef456fd03
commit
e58ed46195
@ -30,6 +30,7 @@ module Homebrew
|
||||
glide_home
|
||||
java_cache
|
||||
npm_cache
|
||||
pip_cache
|
||||
gclient_cache
|
||||
].include?(pathname.basename.to_s)
|
||||
end
|
||||
|
@ -2880,6 +2880,7 @@ class Formula
|
||||
GOPATH: "#{HOMEBREW_CACHE}/go_mod_cache",
|
||||
CARGO_HOME: "#{HOMEBREW_CACHE}/cargo_cache",
|
||||
CURL_HOME: ENV.fetch("CURL_HOME") { Dir.home },
|
||||
PIP_CACHE_DIR: "#{HOMEBREW_CACHE}/pip_cache",
|
||||
PYTHONDONTWRITEBYTECODE: "1",
|
||||
}
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user