[PyObjC-svn] r2382 - trunk/pyobjc/pyobjc
[email protected] Tue, 24 Nov 2009 09:43:22 -0600
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren
Date: Tue Nov 24 09:43:21 2009
New Revision: 2382
Log:
Version 2.2
Modified:
trunk/pyobjc/pyobjc/setup.py
Modified: trunk/pyobjc/pyobjc/setup.py
==============================================================================
--- trunk/pyobjc/pyobjc/setup.py (original)
+++ trunk/pyobjc/pyobjc/setup.py Tue Nov 24 09:43:21 2009
@@ -5,17 +5,13 @@
import os
-VERSION='2.2b3'
+VERSION='2.2'
# NOTE: This list of requirements is split into sections for 10.4
# and 10.5 to make it possible to install PyObjC from source on all
# supported platforms.
REQUIRES=[
-# The line below won't install py2app for some reason and I have no
-# idea why that's so.
-# 'py2app==dev,>=0.4',
'pyobjc-core=='+VERSION,
-# 'pyobjc-metadata',
'pyobjc-framework-AddressBook=='+VERSION,
'pyobjc-framework-AppleScriptKit=='+VERSION,
'pyobjc-framework-Automator=='+VERSION,
@@ -27,7 +23,7 @@
'pyobjc-framework-FSEvents=='+VERSION,
'pyobjc-framework-InstallerPlugins=='+VERSION,
'pyobjc-framework-LatentSemanticMapping=='+VERSION,
-# 'pyobjc-framework-LaunchServices=='+VERSION,
+ 'pyobjc-framework-LaunchServices=='+VERSION,
'pyobjc-framework-Message=='+VERSION,
'pyobjc-framework-PreferencePanes=='+VERSION,
'pyobjc-framework-Quartz=='+VERSION,
@@ -50,10 +46,19 @@
'pyobjc-framework-ScriptingBridge=='+VERSION,
]
+REQUIRES_10_6=[
+ 'pyobjc-framework-AppleScriptObjC=='+VERSION,
+ 'pyobjc-framework-CoreLocation=='+VERSION,
+ 'pyobjc-framework-ServerNotification=='+VERSION,
+ 'pyobjc-framework-ServiceManagement=='+VERSION,
+]
+
import platform
rel = map(int, platform.mac_ver()[0].split('.')[:2])
if rel >= (10, 5):
REQUIRES.extend(REQUIRES_10_5)
+if rel >= (10, 6):
+ REQUIRES.extend(REQUIRES_10_6)
# Some PiPy stuff
LONG_DESCRIPTION="""
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july