Skip to content

Commit

Permalink
Rollback to setuptools and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
rrooggiieerr committed Jun 25, 2024
1 parent 1b8d4e8 commit 90bd2e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
12 changes: 3 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
[build-system]
requires = ["hatchling>=1.24", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.vcs]
version-file = "rfcontrol/_version.py"

[tool.hatch.version]
source = "vcs"
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "rfcontrolpy"
dynamic = ["version"]
version = "0.0.8"
license = {text = "GPLv3"}
authors = [
{ name="Rogier van Staveren", email="[email protected]" }
Expand Down
7 changes: 2 additions & 5 deletions rfcontrol/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# pylint: disable=missing-module-docstring

try:
from ._version import __version__
except ModuleNotFoundError:
pass
__version__ = "0.0.8"

from rfcontrol import controller, helpers
from . import controller, helpers

0 comments on commit 90bd2e3

Please sign in to comment.