[PyObjC-svn] r2537 - trunk/pyobjc/pyobjc
[email protected] Thu, 01 Jul 2010 06:15:08 -0500
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren Date: Thu Jul 1 06:15:07 2010 New Revision: 2537 Log: don't hardcode setuptools/distribute versions Added: trunk/pyobjc/pyobjc/distribute_setup.py (contents, props changed) Modified: trunk/pyobjc/pyobjc/ (props changed) trunk/pyobjc/pyobjc/setup.py Modified: trunk/pyobjc/pyobjc/setup.py ============================================================================== --- trunk/pyobjc/pyobjc/setup.py (original) +++ trunk/pyobjc/pyobjc/setup.py Thu Jul 1 06:15:07 2010 @@ -1,11 +1,17 @@ #!/usr/bin/env python -import ez_setup -ez_setup.use_setuptools() +try: + import setuptools + +except ImportError: + import distribute_setup + distribute_setup.use_setuptools() + + import setuptools import os -VERSION='2.2' +VERSION="2.3b1" # 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first