Adapted build script to changes in hscommon's CocoaProxy and objp.

--HG--
branch : objp
This commit is contained in:
Virgil Dupras 2012-01-05 14:12:52 -05:00
parent ceaf2ee4ba
commit 7ce72b1998
1 changed files with 2 additions and 2 deletions

View File

@ -165,9 +165,9 @@ def build_mergepot():
def build_cocoa_proxy_module():
print("Building Cocoa Proxy")
import objp.p2o
objp.p2o.generate_python_proxy_code('hscommon/cocoa/Cocoa.h', 'build/CocoaProxy.m')
objp.p2o.generate_python_proxy_code('hscommon/cocoa/CocoaProxy.h', 'build/CocoaProxy.m')
exts = [
Extension("CocoaProxy", ['hscommon/cocoa/Cocoa.m', 'build/CocoaProxy.m', 'build/ObjP.m'],
Extension("CocoaProxy", ['hscommon/cocoa/CocoaProxy.m', 'build/CocoaProxy.m', 'build/ObjP.m'],
extra_link_args=["-framework", "CoreFoundation", "-framework", "Foundation", "-framework", "AppKit"]),
]
setup(