自制的蟒蛇安装选项



我已经在线阅读了多个使用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

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

最新更新