Merge pull request #16250 from branchvincent/pip-cache
formula: add `PIP_CACHE_DIR` to build env
This commit is contained in:
		
						commit
						1b8207bf47
					
				@ -30,6 +30,7 @@ module Homebrew
 | 
			
		||||
          glide_home
 | 
			
		||||
          java_cache
 | 
			
		||||
          npm_cache
 | 
			
		||||
          pip_cache
 | 
			
		||||
          gclient_cache
 | 
			
		||||
        ].include?(pathname.basename.to_s)
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
@ -2871,6 +2871,7 @@ class Formula
 | 
			
		||||
      GOCACHE:                 "#{HOMEBREW_CACHE}/go_cache",
 | 
			
		||||
      GOPATH:                  "#{HOMEBREW_CACHE}/go_mod_cache",
 | 
			
		||||
      CARGO_HOME:              "#{HOMEBREW_CACHE}/cargo_cache",
 | 
			
		||||
      PIP_CACHE_DIR:           "#{HOMEBREW_CACHE}/pip_cache",
 | 
			
		||||
      CURL_HOME:               ENV.fetch("CURL_HOME") { Dir.home },
 | 
			
		||||
      PYTHONDONTWRITEBYTECODE: "1",
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user