diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-12-30 12:30:37 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-12-30 12:30:37 +0200 |
commit | cce740520deb7915c3995fba69335abea0841f3b (patch) | |
tree | dbb73e3c09280500b8b4ed9c528cb1d45d5e6945 | |
parent | b544f3c74a2f3fcb5bf2c3d3ac4c2dee515a2018 (diff) | |
parent | 4c8efeda186f676c7dc3e559a1fbd0ebcda39679 (diff) | |
download | coverage-test-runner-cce740520deb7915c3995fba69335abea0841f3b.tar.gz |
Merge: fix how version number if stored
-rw-r--r-- | CoverageTestRunner.py | 3 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | coveragetestrunner/__init__.py | 18 | ||||
-rw-r--r-- | coveragetestrunner/version.py | 2 | ||||
-rw-r--r-- | setup.py | 5 |
5 files changed, 25 insertions, 5 deletions
diff --git a/CoverageTestRunner.py b/CoverageTestRunner.py index a63b9c2..4bd2647 100644 --- a/CoverageTestRunner.py +++ b/CoverageTestRunner.py @@ -25,9 +25,6 @@ import time import logging -__version__ = '1.11' - - class AllowNothing(logging.Filter): '''A logging library filter that disables everything.''' @@ -4,6 +4,8 @@ NEWS about CoverageTestRunner Version 1.14+git, not yet released ---------------------------------- +* Fixd how version number is stored. It can now be automatically + updated at release time with "bumper", my tool for doing that. Version 1.14, released 2017-10-27 ------------------------------------ diff --git a/coveragetestrunner/__init__.py b/coveragetestrunner/__init__.py new file mode 100644 index 0000000..9f097c1 --- /dev/null +++ b/coveragetestrunner/__init__.py @@ -0,0 +1,18 @@ +# Copyright (C) 2017 Lars Wirzenius <liw@iki.fi> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# =*= License: GPL-3+ =*= + +from .version import __version__, __version_info__ diff --git a/coveragetestrunner/version.py b/coveragetestrunner/version.py new file mode 100644 index 0000000..1c60541 --- /dev/null +++ b/coveragetestrunner/version.py @@ -0,0 +1,2 @@ +__version__ = '1.11' +__version_info__ = (1, 11) @@ -19,10 +19,10 @@ from distutils.core import setup -import CoverageTestRunner +import coveragetestrunner setup(name='coverage-test-runner', - version=CoverageTestRunner.__version__, + version=coveragetestrunner.__version__, author='Lars Wirzenius', author_email='liw@liw.fi', url='http://liw.fi/coverage-test-runner/', @@ -44,5 +44,6 @@ setup(name='coverage-test-runner', 'Topic :: Software Development :: Testing', ], py_modules=['CoverageTestRunner'], + packages=['coveragetestrunner'], ) |