This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
import subprocess | |
import tempfile | |
import collections | |
import sys | |
import re | |
# | |
# Collect symbols tested for below | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
934a935,936 | |
> python_framework_name = distutils.sysconfig.get_config_var('PYTHONFRAMEWORK') | |
> | |
1026,1027c1028,1030 | |
< if 'Python.framework' in prefix: | |
< if re.search(r'/Python(?:-32|-64)*$', py_executable): | |
--- | |
> if python_framework_name is not None: | |
> # XXX Ronald | |
> if re.search(r'/%s(?:-32|-64)*$'%(python_framework_name,), py_executable): |