For for issue #7154: Port the code that uses

the SystemConfiguration framework to detect the
proxy settings on OSX from the trunk to python 3.2
This commit is contained in:
Ronald Oussoren 2010-04-18 20:46:11 +00:00
parent f88db8de76
commit 8415120af3
4 changed files with 335 additions and 27 deletions

View file

@ -1238,6 +1238,12 @@ class PyBuildExt(build_ext):
Extension('_gestalt', ['_gestalt.c'],
extra_link_args=['-framework', 'Carbon'])
)
exts.append(
Extension('_scproxy', ['_scproxy.c'],
extra_link_args=[
'-framework', 'SystemConfiguration',
'-framework', 'CoreFoundation',
]))
self.extensions.extend(exts)