-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Installable package with pyproject.toml
Squashed commit of the following: commit d6469be Author: vvcb <vvcb.n1@gmail.com> Date: Sun Feb 5 22:51:45 2023 +0000 Working pyproject.toml setup commit 523f5e0 Author: vvcb <vvcb.n1@gmail.com> Date: Sun Feb 5 21:52:36 2023 +0000 Initial commit for pip installer
- Loading branch information
Showing
4 changed files
with
53 additions
and
21 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,3 +1,7 @@ | ||
from xml.etree.ElementTree import VERSION | ||
|
||
from avoidable_admissions import data, features, models, utils, visualization | ||
|
||
__all__ = ["data", "features", "models", "utils", "visualization"] | ||
|
||
VERSION = "0.1.0" |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "avoidable_admissions" | ||
description = "HDRUK Collaboration on Avoidable Admissions in the NHS" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = { file = "LICENSE" } | ||
authors = [ | ||
{ name = "LTHTR Data Science Team", email = "datascience@lthtr.nhs.uk" }, | ||
] | ||
dependencies = ["pandas", "pandera", "python-dotenv"] | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools] | ||
packages = ["avoidable_admissions"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "avoidable_admissions.VERSION"} | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/LTHTR-DST/hdruk_avoidable_admissions/" | ||
Documentation = "https://lthtr-dst.github.io/hdruk_avoidable_admissions/" | ||
|
||
[project.optional-dependencies] | ||
eda = [ | ||
"black", | ||
"bokeh", | ||
"holoviews", | ||
"isort", | ||
"jupyterlab_code_formatter", | ||
"jupyterlab", | ||
"seaborn", | ||
] | ||
dev = [ | ||
"mkdocs-material", | ||
"mkdocs", | ||
"mkdocstrings-python", | ||
"mkdocstrings", | ||
"nbstripout", | ||
"pre-commit", | ||
] | ||
|
||
[tool.isort] | ||
profile = "black" |
This file was deleted.
Oops, something went wrong.
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,10 +1,3 @@ | ||
from setuptools import find_packages, setup | ||
from setuptools import setup | ||
|
||
setup( | ||
name="avoidable_admissions", | ||
packages=find_packages(), | ||
version="0.1.0", | ||
description="HDRUK Data Science Collaboration on Avoidable Admissions in the NHS", | ||
author="LTHTR-DST", | ||
license="MIT", | ||
) | ||
setup() |