[PyObjC-svn] r2179 - in trunk/pyobjc/pyobjc-core: Installer Package Lib/objc setup-lib

[email protected]
Newsgroups gmane.comp.python.pyobjc.cvs
Message-ID <[email protected]>
Author: ronaldoussoren
Date: Thu Apr 30 04:10:09 2009
New Revision: 2179

Log:
remove unused directory "Installer Package"

Removed:
   trunk/pyobjc/pyobjc-core/Installer Package/
   trunk/pyobjc/pyobjc-core/setup-lib/pyobjc_mpkg.py
Modified:
   trunk/pyobjc/pyobjc-core/Lib/objc/_descriptors.py
   trunk/pyobjc/pyobjc-core/setup-lib/build_html.py

Modified: trunk/pyobjc/pyobjc-core/Lib/objc/_descriptors.py
==============================================================================
--- trunk/pyobjc/pyobjc-core/Lib/objc/_descriptors.py	(original)
+++ trunk/pyobjc/pyobjc-core/Lib/objc/_descriptors.py	Thu Apr 30 04:10:09 2009
@@ -4,7 +4,7 @@
 This module defines the core interfaces of the Python<->Objective-C bridge.
 """
 
-__all__ = ['IBOutlet', 'IBAction', 'accessor', 'Accessor', 'typedAccessor', 'callbackFor', 'selectorFor', 'synthesize', 'namedselector' ]
+__all__ = ['IBOutlet', 'IBAction', 'accessor', 'Accessor', 'typedAccessor', 'callbackFor', 'selectorFor', 'synthesize', 'namedselector', 'typedSelector' ]
 
 from _objc import ivar, selector, _makeClosure, selector, _C_SEL, _C_ID
 import sys, textwrap
@@ -85,6 +85,12 @@
 
     raise TypeError("%s takes too many arguments to be an accessor" % (funcName,))
 
+
+def typedSelector(signature):
+    def _typedSelector(func):
+        return selector(func, signature=signature)
+    return _typedSelector
+
 def namedselector(name, signature=None):
     """
     Python 2.4 decorator for overriding the Objective-C SEL for a method, usage:

Modified: trunk/pyobjc/pyobjc-core/setup-lib/build_html.py
==============================================================================
--- trunk/pyobjc/pyobjc-core/setup-lib/build_html.py	(original)
+++ trunk/pyobjc/pyobjc-core/setup-lib/build_html.py	Thu Apr 30 04:10:09 2009
@@ -55,12 +55,6 @@
         os.path.walk('Doc', rest2HTML, ['Doc/announcement.txt'])
         rest2HTML(None, '.', [
             'NEWS.txt', 'Install.txt', 'ReadMe.txt', 'Examples/00ReadMe.txt',
-            'Installer Package/10.2/ReadMe.txt',
-            'Installer Package/10.3/ReadMe.txt',
-            'Installer Package/10.4/ReadMe.txt',
-            'Xcode/Project Templates/00README.txt',
         ])
-        if os.path.exists('Xcode/Project Templates/00README.html'):
-                os.rename('Xcode/Project Templates/00README.html', 'Doc/Xcode-Templates.html')
 
 cmdclass = dict(build_html=build_html)

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.