Skip to content

Commit

Permalink
Switch to hatch for packaging (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm authored Nov 23, 2024
1 parent 8b29a72 commit 32f66c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ arviz = ["arviz>=0.9"]
docs = ["arviz>=0.9", "sphinx>=1.7.5", "pandoc", "myst-nb", "sphinx-book-theme", "ipython"]

[build-system]
requires = ["setuptools>=62.0", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.setuptools_scm]
write_to = "src/corner/version.py"
[tool.hatch.version]
source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "src/corner/version.py"

[tool.black]
line-length = 79
Expand Down
7 changes: 0 additions & 7 deletions setup.py

This file was deleted.

0 comments on commit 32f66c6

Please sign in to comment.