Bump version & dependencies. (#30)
Add tests that we've bumped the version correctly
This commit is contained in:
Родитель
611b014679
Коммит
47cc417fe1
3
setup.py
3
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:
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
Загрузка…
Ссылка в новой задаче