自制的python安装选项

时间:2014-02-22 09:08:33

标签: python installation homebrew options

我已经在线阅读了多个使用Homebrew安装python的资源,所有人都提出了这个命令:

brew install python --universal --framework

但是当我尝试探索python的选项时,--framework不在列表中。如何验证框架是否已安装?

brew options python

--quicktest
    Run `make quicktest` after the build (for devs; may fail)
--universal
    Build a universal binary
--with-brewed-openssl
    Use Homebrew's openSSL instead of the one from OS X
--with-brewed-tk
    Use Homebrew's Tk (has optional Cocoa and threads support)
--with-dtrace
    Experimental DTrace support (http://bugs.python.org/issue13405)
--with-poll
    Enable select.poll, which is not fully implemented on OS X (http://bugs.python.org/issue5154)
--without-gdbm
    Build without gdbm support
--without-readline
    Build without readline support
--without-sqlite
    Build without sqlite support
--HEAD
    install HEAD version

1 个答案:

答案 0 :(得分:2)

Homebrew现在默认将Python构建为框架。