提交 686b6271 authored 作者: Graham Taylor's avatar Graham Taylor

Actually fix 32-bit EPD based on DWF's comments

上级 927c960d
......@@ -287,9 +287,10 @@ 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
# It was modified by Graham Taylor to support Enthought Python Distribution
# 7.x (32 and 64 bit)
# TODO It is a bit hack-ish, is it possible to find a more generic fix?
fwk_pattern = '(Python|EPD(32|64)).framework/Versions/(2\.[0-9]|7\.[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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论