Skip to content

Commit

Permalink
Version bump to 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav1 committed May 24, 2023
1 parent 5f96ca9 commit 600a554
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/*.egg-info
*.pyc
/.vscode
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@

import setuptools
from pathlib import Path as path
from zytempmqtt import __version__

readme_contents = path('./README.md').read_text()
requirements = path('./requirements.txt').read_text().splitlines()
packages = setuptools.find_packages(include=['zytempmqtt'])

setuptools.setup(
name='zytemp_mqtt',
version='0.0.2',
version=__version__,
author='Patrick Huesmann',
author_email='info@patrick-huesmann.de',
url='https://github.com/patrislav1/zytemp_mqtt',
Expand Down
1 change: 1 addition & 0 deletions zytempmqtt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.0.3"
2 changes: 2 additions & 0 deletions zytempmqtt/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import signal
import argparse
import logging as log
from . import __version__


def signal_handler(signum, frame):
Expand All @@ -20,6 +21,7 @@ def main():
args = parser.parse_args()

log.basicConfig(level=log.DEBUG if args.debug else log.INFO)
log.log(log.INFO, f'zytempmqtt version {__version__}')

signal.signal(signal.SIGINT, signal_handler)

Expand Down

0 comments on commit 600a554

Please sign in to comment.