[Python-modules-commits] [nose2] 01/05: Import nose2_0.6.5.orig.tar.gz

Barry Warsaw barry at moszumanska.debian.org
Wed Jul 13 15:19:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository nose2.

commit c83bcdbd03446a6ae2561847b00942df67ed22b5
Author: Barry Warsaw <barry at python.org>
Date:   Wed Jul 13 10:37:12 2016 -0400

    Import nose2_0.6.5.orig.tar.gz
---
 PKG-INFO                   | 2 +-
 docs/changelog.rst         | 6 ++++++
 nose2.egg-info/PKG-INFO    | 2 +-
 nose2.egg-info/SOURCES.txt | 1 +
 nose2/__init__.py          | 1 +
 nose2/_version.py          | 5 +++++
 setup.py                   | 2 +-
 7 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/PKG-INFO b/PKG-INFO
index 88fbb73..0f75368 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: nose2
-Version: 0.6.4
+Version: 0.6.5
 Summary: nose2 is the next generation of nicer testing for Python
 Home-page: https://github.com/nose-devs/nose2
 Author: Jason Pellerin
diff --git a/docs/changelog.rst b/docs/changelog.rst
index bc85d6d..fe986c5 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -1,6 +1,12 @@
 Changelog
 =========
 
+0.6.5
+-----
+
+* Added
+    * module version number as described in PEP 396
+
 0.6.4
 -----
 
diff --git a/nose2.egg-info/PKG-INFO b/nose2.egg-info/PKG-INFO
index 88fbb73..0f75368 100644
--- a/nose2.egg-info/PKG-INFO
+++ b/nose2.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: nose2
-Version: 0.6.4
+Version: 0.6.5
 Summary: nose2 is the next generation of nicer testing for Python
 Home-page: https://github.com/nose-devs/nose2
 Author: Jason Pellerin
diff --git a/nose2.egg-info/SOURCES.txt b/nose2.egg-info/SOURCES.txt
index ce71f7f..1f10d5f 100644
--- a/nose2.egg-info/SOURCES.txt
+++ b/nose2.egg-info/SOURCES.txt
@@ -66,6 +66,7 @@ docs/plugins/testclasses.rst
 docs/plugins/testid.rst
 nose2/__init__.py
 nose2/__main__.py
+nose2/_version.py
 nose2/collector.py
 nose2/compat.py
 nose2/config.py
diff --git a/nose2/__init__.py b/nose2/__init__.py
index c705685..ac32f4d 100644
--- a/nose2/__init__.py
+++ b/nose2/__init__.py
@@ -1 +1,2 @@
+from nose2._version import __version__
 from nose2.main import discover, main
diff --git a/nose2/_version.py b/nose2/_version.py
new file mode 100644
index 0000000..fd9e3c6
--- /dev/null
+++ b/nose2/_version.py
@@ -0,0 +1,5 @@
+"""version information"""
+
+# taken from http://stackoverflow.com/a/17626524/1836144
+# The following line *must* be the last in the module, exactly as formatted:
+__version__ = '0.6.5'
diff --git a/setup.py b/setup.py
index d556a05..8e20591 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ import os
 import sys
 
 NAME = 'nose2'
-VERSION = '0.6.4'
+VERSION = open('nose2/_version.py').readlines()[-1].split()[-1].strip('"\'')
 PACKAGES = ['nose2', 'nose2.plugins', 'nose2.plugins.loader',
             'nose2.tests', 'nose2.tests.functional', 'nose2.tests.unit',
             'nose2.tools', 'nose2.backports']

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/nose2.git



More information about the Python-modules-commits mailing list