This repository was archived by the owner on Apr 22, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (73 loc) · 2.37 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (73 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# ref: https://setuptools.pypa.io/en/stable/userguide/pyproject_config.html
[project]
authors = [{ name = "Henry Webel", email = "heweb@dtu.dk" }]
description = "PioGrowth related core functionality"
name = "piogrowth"
# This means: Load the version from the package itself.
# See the section below: [tools.setuptools.dynamic]
# dynamic = [
# "version", # version is loaded from the package
# #"dependencies", # add if using requirements.txt
# ]
version = "0.2.0" # this is used if not using dynamic loading of the version
readme = "README.md"
requires-python = ">=3.10" # test all higher Python versions
# These are keywords
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "MIT" # https://choosealicense.com/
# # add dependencies here: (use one of the two)
dependencies = [
"numpy",
"pandas[excel]",
"scipy",
"matplotlib",
"seaborn",
"streamlit>=1.52.0",
"growthcurves",
]
# use requirements.txt instead of pyproject.toml for dependencies
# https://stackoverflow.com/a/73600610/9684872
# ! uncomment also dependencies in the dynamic section above
# [tool.setuptools.dynamic]
# dependencies = {file = ["requirements.txt"]}
[project.urls]
"Bug Tracker" = "https://github.com/RasmussenLab/PioGrowth/issues"
"Homepage" = "https://github.com/RasmussenLab/PioGrowth"
[project.optional-dependencies]
# Optional dependencies to locally build the documentation, also used for
# readthedocs.
docs = [
"sphinx",
"sphinx-book-theme",
"myst-nb",
"ipywidgets",
"sphinx-new-tab-link!=0.2.2",
"jupytext",
"sphinx-copybutton",
"pandas<3.0.0",
"croissance",
"scikit-learn",
]
# local development options
dev = ["black[jupyter]", "ruff", "pytest", "isort", "jupytext"]
[tool.ruff]
# https://docs.astral.sh/ruff/rules/#flake8-bandit-s
[tool.ruff.lint]
# https://docs.astral.sh/ruff/tutorial/#rule-selection
# 1. Enable flake8-bugbear (`B`) rules
# 2. Enable pycodestyle (`E`) errors and (`W`) warnings
# 3. Pyflakes (`F`) errors
extend-select = ["E", "W", "F", "B"]
# Ignore line length errors:
# ignore = ["E501"]
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64", "setuptools_scm>=8"]
[tool.setuptools_scm]
# https://setuptools-scm.readthedocs.io/
# used to pick up the version from the git tags or the latest commit.
[tool.isort]
profile = "black"