[PyObjC-svn] r2220 - in trunk/pyobjc/pyobjc-framework-Cocoa: . Lib/PyObjCTools
[email protected] Thu, 14 May 2009 06:56:54 -0500
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren
Date: Thu May 14 06:56:54 2009
New Revision: 2220
Log:
* Use default SDK on Leopard ('-isysroot /') to ensure we see al API's
* Fix small typo in AppCategory.py
Modified:
trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/AppCategories.py
trunk/pyobjc/pyobjc-framework-Cocoa/setup.py
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/AppCategories.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/AppCategories.py (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/Lib/PyObjCTools/AppCategories.py Thu May 14 06:56:54 2009
@@ -9,7 +9,7 @@
def __enter__(self):
NSGraphicsContext.saveGraphicsState()
- def __exit__(self, exc_type, exc_value, exc_tp):
+ def __exit__(self, exc_type, exc_value, exc_tb):
NSGraphicsContext.restoreGraphicsState()
return False
@@ -28,7 +28,7 @@
cls.beginGrouping()
@classmethod
- def __exit__(cls, exc_type, exc_value, exc_type):
+ def __exit__(cls, exc_type, exc_value, exc_tb):
cls.endGrouping()
return False
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/setup.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/setup.py (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/setup.py Thu May 14 06:56:54 2009
@@ -16,7 +16,7 @@
if int(os.uname()[2].split('.')[0]) <= 8:
CFLAGS=["-DNO_OBJC2_RUNTIME"]
else:
- CFLAGS=[]
+ CFLAGS=["-isysroot", "/"]
try:
from PyObjCMetaData.commands import extra_cmdclass, extra_options
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com