提交 2ae42099 authored 作者: Graham Taylor's avatar Graham Taylor

Support for 64-bit OSX Enthought Python Distribution 7.x

上级 15c73084
......@@ -287,8 +287,9 @@ def remove_python_framework_dir(cmd):
# http://groups.google.com/group/theano-users/browse_thread/thread/c84bfe31bb411493
# It was improved later following a bug report by Benjamin Hamner:
# https://groups.google.com/group/theano-users/browse_thread/thread/374ec2dadd3ac369/024e2be792f98d86
# It was modified by Graham Taylor to support Enthought Python Distribution 7.x
# TODO It is a bit hack-ish, is it possible to find a more generic fix?
fwk_pattern = 'Python.framework/Versions/2\.[0-9]/Python$'
fwk_pattern = '(Python|EPD64).framework/Versions/(2\.[0-9]|7\.[0-9])/Python$'
rval = [element for element in cmd
if (re.search(fwk_pattern, element) is None
# Keep this element if it turns out to be part of an argument
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论