Release 0.0.20
authorRobert Collins <robertc@robertcollins.net>
Wed, 27 Aug 2014 00:43:14 +0000 (12:43 +1200)
committerRobert Collins <robertc@robertcollins.net>
Wed, 27 Aug 2014 00:43:14 +0000 (12:43 +1200)
Also

* The python-subunit tarball can now have setup run from the current
  directory. (Robert Collins, #1361857)

NEWS
configure.ac
python/subunit/__init__.py
setup.py

diff --git a/NEWS b/NEWS
index 830981a..a0b598b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,9 @@ subunit release notes
 NEXT (In development)
 ---------------------
 
+0.0.20
+------
+
 BUGFIXES
 ~~~~~~~~
 
@@ -14,6 +17,9 @@ BUGFIXES
 * testscenarios is now a test dependency, not an install dependency.
   (Arfrever Frehtes Taifersar Arahesis, #1292757)
 
+* The python-subunit tarball can now have setup run from the current
+  directory. (Robert Collins, #1361857)
+
 0.0.19
 ------
 
index 07c96ac..869ed9b 100644 (file)
@@ -1,6 +1,6 @@
 m4_define([SUBUNIT_MAJOR_VERSION], [0])
 m4_define([SUBUNIT_MINOR_VERSION], [0])
-m4_define([SUBUNIT_MICRO_VERSION], [19])
+m4_define([SUBUNIT_MICRO_VERSION], [20])
 m4_define([SUBUNIT_VERSION],
 m4_defn([SUBUNIT_MAJOR_VERSION]).m4_defn([SUBUNIT_MINOR_VERSION]).m4_defn([SUBUNIT_MICRO_VERSION]))
 AC_PREREQ([2.59])
index ff952c3..30f7110 100644 (file)
@@ -153,7 +153,7 @@ from subunit.v2 import ByteStreamToStreamResult, StreamResultToBytes
 # If the releaselevel is 'final', then the tarball will be major.minor.micro.
 # Otherwise it is major.minor.micro~$(revno).
 
-__version__ = (0, 0, 19, 'final', 0)
+__version__ = (0, 0, 20, 'final', 0)
 
 PROGRESS_SET = 0
 PROGRESS_CUR = 1
index 9176398..42ff760 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,9 @@ VERSION = (
     or "0.0")
 
 
-os.chdir(os.path.dirname(__file__))
+relpath = os.path.dirname(__file__)
+if relpath:
+    os.chdir(relpath)
 setup(
     name='python-subunit',
     version=VERSION,