Skip to content

Commit f1f07b8

Browse files
committed
switch to hatchling backend and only include mimic_utils package
1 parent 9b083be commit f1f07b8

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[build-system]
2-
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "mimic_utils"
77
version = "1.0.0"
88
authors = [
99
{ name="Alistair Johnson", email="aewj@mit.edu" },
1010
]
11-
description = "Utilities to support analyzing the MIMIC database(s)"
12-
readme = "README.md"
11+
description = "Utilities to support building and analyzing the MIMIC database(s)"
12+
readme = "README_mimic_utils.md"
1313
license = { file="LICENSE" }
1414
requires-python = ">=3.8"
1515
classifiers = [
@@ -30,12 +30,9 @@ mimic_utils = "mimic_utils.__main__:main"
3030
"Homepage" = "https://github.com/MIT-LCP/mimic-code"
3131
"Bug Tracker" = "https://github.com/MIT-LCP/mimic-code/issues"
3232

33-
[tool.setuptools]
34-
include-package-data = true
33+
[tool.hatch.build.targets.sdist]
34+
ignore-vcs = true
35+
only-include = ["src/mimic_utils"]
3536

36-
[tool.setuptools.packages.find]
37-
where = ["src"]
38-
include = ["mimic_utils"]
39-
40-
[tool.setuptools_scm]
41-
# this section is required to enable the scm plugin
37+
[tool.hatch.build.targets.wheel]
38+
packages = ["src/mimic_utils"]

0 commit comments

Comments
 (0)