diff --git a/.gitignore b/.gitignore index bbcb7706..7b57361c 100644 --- a/.gitignore +++ b/.gitignore @@ -121,11 +121,8 @@ docs/autoapi .fuse_hidden* \.pytest_cache/ - -*.ipynb_checkpoints/ - \.vscode/ - +*.ipynb_checkpoints/ # quimb specific ctg_cache diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index b4d5aad0..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,6 +0,0 @@ -include quimb/_version.py -include README.md -include setup.cfg -include LICENSE.txt -graft tests -graft deps diff --git a/pyproject.toml b/pyproject.toml index 75aa43cb..80ade684 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"