lists.arthurdejong.org
RSS feed

python-stdnum commit: r86 - in python-stdnum: . stdnum

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum commit: r86 - in python-stdnum: . stdnum



Author: arthur
Date: Fri Sep 30 10:22:50 2011
New Revision: 86
URL: http://arthurdejong.org/viewvc/python-stdnum?revision=86&view=revision

Log:
move the version number definition to the stdnum package

Modified:
   python-stdnum/setup.py
   python-stdnum/stdnum/__init__.py

Modified: python-stdnum/setup.py
==============================================================================
--- python-stdnum/setup.py      Sun Sep 25 09:45:06 2011        (r85)
+++ python-stdnum/setup.py      Fri Sep 30 10:22:50 2011        (r86)
@@ -32,7 +32,7 @@
     os.umask(int('022', 8))
 
 setup(name='python-stdnum',
-      version='0.5',
+      version=stdnum.__version,
       packages=find_packages(),
       package_data={'stdnum': ['*.dat']},
       author='Arthur de Jong',

Modified: python-stdnum/stdnum/__init__.py
==============================================================================
--- python-stdnum/stdnum/__init__.py    Sun Sep 25 09:45:06 2011        (r85)
+++ python-stdnum/stdnum/__init__.py    Fri Sep 30 10:22:50 2011        (r86)
@@ -47,3 +47,6 @@
  * some algorithms described in ISO/IEC 7064: Mod 11, 2, Mod 37, 2,
    Mod 97, 10, Mod 11, 10 and Mod 37, 36
 """
+
+# the version number of the library
+__version__ = '0.5'
-- 
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/python-stdnum-commits/