mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
1 parent
1f90682753
commit
fee76dece4
1 file changed
+7
-7
@@ -9,19 +9,19 @@ class Sip <Formula
|
||||
md5 '52d11ca9c1a0d0cddc9b89268bff5929'
|
||||
|
||||
def install
|
||||
system "python", "configure.py", "--destdir=#{lib}/python",
|
||||
"--bindir=#{bin}",
|
||||
"--incdir=#{include}"
|
||||
# Force building against System python, because we need a Framework build.
|
||||
# See: http://github.com/mxcl/homebrew/issues/issue/930
|
||||
system "/usr/bin/python", "configure.py",
|
||||
"--destdir=#{lib}/python",
|
||||
"--bindir=#{bin}",
|
||||
"--incdir=#{include}"
|
||||
system "make install"
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
def caveats; <<-EOS
|
||||
This formula won't function until you amend your PYTHONPATH like so:
|
||||
|
||||
export PYTHON_PATH=#{HOMEBREW_PREFIX}/lib/python:$PYTHON_PATH
|
||||
|
||||
This is why you would ideally install sip using pip or easy_install. But this
|
||||
can't work because this package doesn't support Python's disttools.
|
||||
EOS
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user