Skip to content

Commit

Permalink
[email protected]: avoid shelling out to brew
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab committed Aug 10, 2022
1 parent 25e7971 commit b16d43a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,13 @@ def post_install
include_dirs=#{include_dirs.join ":"}
library_dirs=#{library_dirs.join ":"}
EOS

# setuptools 63.2.0+ breaks when used inside superenv.
# https://github.com/pypa/distutils/pull/155
# https://github.com/pypa/distutils/issues/158
inreplace site_packages/"setuptools/_distutils/command/_framework_compat.py",
/^(\s+homebrew_prefix\s+=\s+).*/,
"\\1'#{HOMEBREW_PREFIX}'"
end

def sitecustomize
Expand Down

0 comments on commit b16d43a

Please sign in to comment.