Skip to content

Commit

Permalink
Add __version__ attribute. (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminiuga authored Sep 7, 2019
1 parent 26354ef commit dc106dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

from setuptools import find_packages, setup

import zigpy_deconz

setup(
name="zigpy-deconz",
version="0.2.2",
version=zigpy_deconz.__version__,
description="A library which communicates with Deconz radios for zigpy",
url="http://github.com/zigpy/zigpy-deconz",
author="Daniel Schmidt",
Expand Down
6 changes: 6 additions & 0 deletions zigpy_deconz/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# coding: utf-8
MAJOR_VERSION = 0
MINOR_VERSION = 3
PATCH_VERSION = '0'
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)

0 comments on commit dc106dc

Please sign in to comment.