-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to hatchling backend and only include mimic_utils package
- Loading branch information
1 parent
9b083be
commit f1f07b8
Showing
1 changed file
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = [ | ||
|
@@ -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"] |