Skip to content

Commit

Permalink
Revert "hatchling"
Browse files Browse the repository at this point in the history
  • Loading branch information
barneydobson authored Nov 27, 2024
1 parent 8678437 commit 7ea5957
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[build-system]
requires = [
"hatch-vcs",
"hatchling",
]
build-backend = "hatchling.build"
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
exclude = ["htmlcov"] # Exclude the coverage report file from setuptools package finder

[project]
name = "wsimod"
description = "WSIMOD is for simulating water quality and quantity"
readme = "README.md"
dynamic = [ "version"]
version = "0.4.0"
license = {file = "LICENSE"}
authors = [
{ name = "Barnaby Dobson", email = "[email protected]" },
Expand Down Expand Up @@ -61,21 +61,6 @@ doc = [
"wsimod[demos]"
]

[tool.hatch.build]
# Exclude specific files and folders (e.g., `htmlcov` for coverage report)
exclude = ["htmlcov"]

[tool.hatch.metadata]
license = "BSD-3-clause" # Or your primary license name
license-files = [ "LICENSE"]

[tool.hatch.version]
source = "vcs"

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


[tool.pytest.ini_options]
addopts = "-v -p no:warnings --cov=wsimod --cov-report=html"

Expand Down

0 comments on commit 7ea5957

Please sign in to comment.