Add PEP-0396 compatible __version__ to the module and bump to 0.5

This commit is contained in:
Harald Welte 2019-01-16 16:07:50 +01:00
parent 7e1493ee09
commit fc2365d3d7
3 changed files with 5 additions and 1 deletions

View File

@ -1 +1,2 @@
from .inema import Internetmarke
from .inema import __version__

View File

@ -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()

View File

@ -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',