diff --git a/setup.py b/setup.py index f48c7c7..5e39682 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ def read(*names, **kwargs): setup( name='mar', - version='2.1.1', + version='2.1.2', license='MPL 2.0', description='Package for handling Mozilla Archive files.', long_description='%s\n%s' % ( @@ -71,6 +71,7 @@ setup( 'click', 'cryptography', 'construct', + 'backports.lzma', ], extras_require={ # eg: diff --git a/src/mardor/__init__.py b/src/mardor/__init__.py index 406d1c8..4814c1b 100644 --- a/src/mardor/__init__.py +++ b/src/mardor/__init__.py @@ -8,5 +8,5 @@ Signing and verification of MAR files are supported. The primary modules of interest are `mardor.reader` and `mardor.writer` """ -version = (2, 1, 0) -version_str = "2.1.0" +version = (2, 1, 2) +version_str = "2.1.2" diff --git a/tests/test_version.py b/tests/test_version.py new file mode 100644 index 0000000..ee32121 --- /dev/null +++ b/tests/test_version.py @@ -0,0 +1,9 @@ +from pkg_resources import get_distribution + +import mardor + + +def test_version(): + dist = get_distribution('mar') + assert mardor.version_str == dist.version + assert ".".join(str(_) for _ in mardor.version) == dist.version