diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-02-20 17:15:47 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-02-20 17:16:31 +0200 |
commit | 067c7d39988bb1bb81b4cd5e8f90eadee1b7a12a (patch) | |
tree | d2735945887314f813177dbc7f570a1a6fd22406 | |
parent | 510a8867c44b83a2f6f5d279749a4713c2c06081 (diff) | |
download | cliapp-067c7d39988bb1bb81b4cd5e8f90eadee1b7a12a.tar.gz |
Move __version__ into version.py
This should silence pep8 version 1.6 and later. Also allows me to
use my bumper tool for releases.
Thank you to Michel Alexandre Salim for reporting the pep8 issue.
-rw-r--r-- | cliapp/__init__.py | 4 | ||||
-rw-r--r-- | cliapp/version.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cliapp/__init__.py b/cliapp/__init__.py index 7e0aca1..23fd939 100644 --- a/cliapp/__init__.py +++ b/cliapp/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2011 Lars Wirzenius +# Copyright (C) 2011-2016 Lars Wirzenius # # 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 @@ -27,7 +27,7 @@ Homepage: http://liw.fi/cliapp/ ''' -__version__ = '1.20160109' +from .version import __version__, __version_info__ from .util import MemoryProfileDumper diff --git a/cliapp/version.py b/cliapp/version.py new file mode 100644 index 0000000..0c4e276 --- /dev/null +++ b/cliapp/version.py @@ -0,0 +1,2 @@ +__version__ = '1.20160109+git' +__version_info__ = (1, 20160109, '+git') |