diff --git a/inema/__init__.py b/inema/__init__.py index c59da1b..3716529 100644 --- a/inema/__init__.py +++ b/inema/__init__.py @@ -1 +1,2 @@ from .inema import Internetmarke +from .inema import __version__ diff --git a/inema/inema.py b/inema/inema.py index eef91bc..74d62df 100644 --- a/inema/inema.py +++ b/inema/inema.py @@ -11,6 +11,8 @@ import requests, zipfile import io import logging +__version__ = "0.5" + _logger = logging.getLogger(__name__) products_json = resource_stream(__name__, "data/products.json").read().decode() diff --git a/setup.py b/setup.py index 7855217..4c2dc15 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ from setuptools import find_packages, setup +from inema import __version__ install_requires = [ 'zeep >= 0.12.0', @@ -7,7 +8,7 @@ install_requires = [ setup( name='inema', - version='0.4', + version=__version__, description='A Python interface to the Deutsche Post Internetmarke Online Franking', long_description=open('README.rst').read(), author='Harald Welte',