8000 move the version number definition to the stdnum package · sharoonthomas/python-stdnum@6ec6c7e · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ec6c7e

Browse files
committed
move the version number definition to the stdnum package
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@86 9dea7c4f-944c-4273-ac1a-574ede026edc
1 parent ae2013d commit 6ec6c7e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
os.umask(int('022', 8))
3333

3434
setup(name='python-stdnum',
35-
version='0.5',
35+
version=stdnum.__version,
3636
packages=find_packages(),
3737
package_data={'stdnum': ['*.dat']},
3838
author='Arthur de Jong',

stdnum/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@
4747
* some algorithms described in ISO/IEC 7064: Mod 11, 2, Mod 37, 2,
4848
Mod 97, 10, Mod 11, 10 and Mod 37, 36
4949
"""
50+
51+
# the version number of the library
52+
__version__ = '0.5'

0 commit comments

Comments
 (0)
0