Skip to content

Commit

Permalink
move to hatchling build
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Oct 28, 2024
1 parent 20fe4c6 commit 38a64f8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,8 @@ docs/autoapi
.fuse_hidden*

\.pytest_cache/

*.ipynb_checkpoints/

\.vscode/

*.ipynb_checkpoints/

# quimb specific
ctg_cache
Expand Down
6 changes: 0 additions & 6 deletions MANIFEST.in

This file was deleted.

18 changes: 12 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,21 @@ docs = [
"sphinx>=2.0",
]

[project.urls]
"Documentation" = "https://quimb.readthedocs.io/"
"Repository" = "https://github.com/jcmgray/quimb/"
"Issues" = "https://github.com/jcmgray/quimb/issues"
"Changelog" = "https://github.com/jcmgray/quimb/releases"

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

[tool.setuptools.packages]
find = { exclude = ["paper"] }
[tool.hatch.version]
source = "vcs"

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

[tool.pytest.ini_options]
testpaths = "tests"
Expand Down

0 comments on commit 38a64f8

Please sign in to comment.