Skip to content

Commit

Permalink
Switch to hatchling as build system
Browse files Browse the repository at this point in the history
  • Loading branch information
Emrys-Merlin committed Sep 7, 2024
1 parent ed7f0c6 commit 496860b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "web_watchr"
authors = [{ name = "Tim Adler", email = "[email protected]" }]
description = "Monitors a website for changes and publishes them on telegram"
description = "Monitors a website for changes in a text element and publishes an alert (e.g., on telegram)"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["bot", "scraping", "telegram"]
Expand Down Expand Up @@ -34,8 +34,8 @@ docs = [
"mkdocstrings[python]",
]

[tool.setuptools.dynamic]
version = { attr = "web_watchr.__version__" }
[tool.hatch.version]
path = "src/web_watchr/__init__.py"

# [project.scripts]
# my-script = "my_package.module:function"
Expand All @@ -44,3 +44,10 @@ version = { attr = "web_watchr.__version__" }
# minversion = "6.0"
# addopts = "-ra -q"
testpaths = ["test"]

[project.urls]
Homepage = "https://github.com/Emrys-Merlin/web_watchr"
Documentation = "https://Emrys-Merlin.github.io/website_monitoring_bot/"
Repository = "https://github.com/Emrys-Merlin/web_watchr.git"
"Bug Tracker" = "https://github.com/Emrys-Merlin/web_watchr/issues"
# Changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"

0 comments on commit 496860b

Please sign in to comment.