charm-tools: use system Python
Closes #24680. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
f661471abc
commit
9f4f51a948
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,7 @@ class CharmTools < Formula
|
|||
homepage "https://github.com/juju/charm-tools"
|
||||
url "https://files.pythonhosted.org/packages/99/4d/16d7398fe5eefc602a8870fb3e93597aabe681b0f1497749148695cba4a1/charm-tools-2.2.3.tar.gz"
|
||||
sha256 "ea659f59041cb3dff0be862d657830591e656a9a259931064edab7477875245b"
|
||||
revision 2
|
||||
revision 3
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -247,6 +247,7 @@ class CharmTools < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
ENV.prepend_path "PATH", "/System/Library/Frameworks/Python.framework/Versions/Current/bin"
|
||||
ENV.prepend "CPPFLAGS", "-I#{MacOS.sdk_path}/usr/include/ffi"
|
||||
|
||||
virtualenv_install_with_resources
|
||||
|
|
Loading…
Reference in a new issue