Skip to content

Commit

Permalink
Merge pull request #16 from mochipon/release/0.0.3
Browse files Browse the repository at this point in the history
Bump version: 0.0.2 → 0.0.3
  • Loading branch information
mochipon authored Jul 27, 2021
2 parents cc69f73 + 0c796a6 commit f85e617
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
[bumpversion]
current_version = 0.0.2
current_version = 0.0.3
commit = True
tag = True

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:pysesameos2/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[tool.poetry]
name = "pysesameos2"
version = "0.0.2"
version = "0.0.3"
homepage = "https://github.com/mochipon/pysesameos2"
description = "Unofficial library to control smart devices running Sesame OS2."
authors = ["Masaki Tagawa <[email protected]>"]
Expand Down Expand Up @@ -31,6 +31,7 @@ bleak = "^0.12.0"
cryptography = "^3.4.7"

typing-extensions = { version = "^3.10.0.0", python = "<3.8" }
importlib-metadata = {version = "^4.6", python = "<3.8"}

# docs
# should be a dev requirement, but for readthedocs to build must by a dependency
Expand Down
6 changes: 5 additions & 1 deletion pysesameos2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""Top-level package for pysesameos2."""
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError: # pragma: no cover
import importlib_metadata # type: ignore

__author__ = """Masaki Tagawa"""
__version__ = "0.0.2"
__version__ = importlib_metadata.version(__name__)

0 comments on commit f85e617

Please sign in to comment.