-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (79 loc) · 2.64 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (79 loc) · 2.64 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
82
83
84
85
86
87
88
89
90
# ref: https://setuptools.pypa.io/en/stable/userguide/pyproject_config.html
[project]
authors = [{ name = "Henry Webel", email = "heweb@dtu.dk" }]
description = "Growthcurve Apps related to growthcurves Python package."
name = "growthcurve-app"
# This means: Load the version from git tags via setuptools_scm.
dynamic = [
"version", # version is loaded from git tags via setuptools_scm
#"dependencies", # add if using requirements.txt
]
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",
# 1.56.0 added st.dataframe(selection_default=...), which Step 1 sample
# selection needs to restore ticked rows after page navigation.
"streamlit>=1.56.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/biosustain/growthcurves_app/issues"
"Homepage" = "https://github.com/biosustain/growthcurves_app"
[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", "bump-my-version"]
[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.poetry.requires-plugins]
# poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
[tool.poetry]
version = "0.1.0"
# [tool.poetry-dynamic-versioning]
# enable = true
[tool.isort]
profile = "black"