Skip to content

Commit e8bb134

Browse files
committed
Bump version to 0.1.4.dev0
1 parent 7369d85 commit e8bb134

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
from setuptools import find_packages, setup
44

5+
import zigpy_xbee.const as xbee_const
6+
57
setup(
68
name="zigpy-xbee-homeassistant",
7-
version="0.1.3",
9+
version=xbee_const.__version__,
810
description="A library which communicates with XBee radios for zigpy",
911
url="http://github.com/zigpy/zigpy-xbee",
1012
author="Russell Cloran",

tests/test_const.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import zigpy_xbee.const
2+
3+
4+
def test_version():
5+
assert isinstance(zigpy_xbee.const.__short_version__, str)
6+
assert isinstance(zigpy_xbee.const.__version__, str)

zigpy_xbee/const.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""Constants used by zigpy-xbee."""
2+
MAJOR_VERSION = 0
3+
MINOR_VERSION = 1
4+
PATCH_VERSION = "4.dev0"
5+
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
6+
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)

0 commit comments

Comments
 (0)