Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
✨ Added a version
Browse files Browse the repository at this point in the history
  • Loading branch information
lennart-k committed Jul 11, 2019
1 parent efcda65 commit 71e805d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ flake8:
flake8

docker:
docker build .
docker build .

tag:
git tag `python3 -c "from homecontrol.const import VERSION_STRING; print(VERSION_STRING)"`
5 changes: 5 additions & 0 deletions homecontrol/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
from enum import Enum
import voluptuous as vol


VERSION = (0, 1, 0)
VERSION_STRING = ".".join(map(str, VERSION))


MINIMUM_PYTHON_VERSION = (3, 6, 5)

EXIT_SHUTDOWN = "EXIT_SHUTDOWN"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

setup(
name="homecontrol",
version=const.VERSION_STRING,
url="https://github.com/lennart-k/HomeControl",
author="Lennart K",
description="Another approach to home automation",
Expand Down

0 comments on commit 71e805d

Please sign in to comment.