[PyObjC-svn] r2495 - in trunk/pyobjc/build-support: . distribute-0.6.12-patched virtualenv3-src

[email protected] Fri, 11 Jun 2010 10:03:54 -0500
Newsgroups gmane.comp.python.pyobjc.cvs
Message-ID <[email protected]>
Author: ronaldoussoren
Date: Fri Jun 11 10:03:53 2010
New Revision: 2495

Log:
* Ensure that run_tests script works again, previous update contained
  a lame bug
* Some bookkeeping updates
* Add script to set the version in all pyobjc subprojects, to make
  it a lot easier to prepare for a release.


Added:
   trunk/pyobjc/build-support/set-version.py   (contents, props changed)
Removed:
   trunk/pyobjc/build-support/virtualenv3-src/distribute-0.6.4.tar.gz
Modified:
   trunk/pyobjc/build-support/   (props changed)
   trunk/pyobjc/build-support/distribute-0.6.12-patched/   (props changed)
   trunk/pyobjc/build-support/run_tests.py

Modified: trunk/pyobjc/build-support/run_tests.py
==============================================================================
--- trunk/pyobjc/build-support/run_tests.py	(original)
+++ trunk/pyobjc/build-support/run_tests.py	Fri Jun 11 10:03:53 2010
@@ -55,7 +55,7 @@
 gVersions=["2.6", "2.7", "3.1", "3.2"]
 gArchs=["32-bit", "3-way", "intel"]
 
-gVersions=["3.2", "2.6", "2.7", ] #"3.2"]
+gVersions=["3.2", "2.7"]
 gArchs=["3-way"]
 
 gArchMap={
@@ -139,7 +139,6 @@
 
     gen_summary(versions, archs)
 
-
 def detect_frameworks():
     """
     Returns a list of framework wrappers in the order they should
@@ -184,11 +183,11 @@
     lg = logging.getLogger("run_tests")
 
     p = subprocess.Popen(["xcode-select", "-print-path" ],
-        cwd=pkgroot, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
+        stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
 
     stdout, _ = p.communicate()
     path = stdout.strip()
-    path = os.path.join(path, "Library", "PrivateFrameworks")
+    path = os.path.join(path.decode('UTF-8'), "Library", "PrivateFrameworks")
     ib_env = {
         'DYLD_FRAMEWORK_PATH': path,
     }
@@ -235,7 +234,6 @@
         p = subprocess.Popen([
             base_python,
             "-mvirtualenv3",
-            "-v",
             subdir])
 
     xit = p.wait()

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo