Skip to content

Commit

Permalink
switch to hatchling backend and only include mimic_utils package
Browse files Browse the repository at this point in the history
  • Loading branch information
alistairewj committed Jan 6, 2024
1 parent 9b083be commit f1f07b8
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "mimic_utils"
version = "1.0.0"
authors = [
{ name="Alistair Johnson", email="[email protected]" },
]
description = "Utilities to support analyzing the MIMIC database(s)"
readme = "README.md"
description = "Utilities to support building and analyzing the MIMIC database(s)"
readme = "README_mimic_utils.md"
license = { file="LICENSE" }
requires-python = ">=3.8"
classifiers = [
Expand All @@ -30,12 +30,9 @@ mimic_utils = "mimic_utils.__main__:main"
"Homepage" = "https://github.com/MIT-LCP/mimic-code"
"Bug Tracker" = "https://github.com/MIT-LCP/mimic-code/issues"

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

[tool.setuptools.packages.find]
where = ["src"]
include = ["mimic_utils"]

[tool.setuptools_scm]
# this section is required to enable the scm plugin
[tool.hatch.build.targets.wheel]
packages = ["src/mimic_utils"]

0 comments on commit f1f07b8

Please sign in to comment.