-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (58 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (58 loc) · 1.58 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "chaste-sbml"
dynamic = ["version"]
description = "Chaste C++ code generation from SBML"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Kwabena Amponsah" }, { name = "James Osborne" }]
requires-python = ">=3.10"
dependencies = ["clang-format", "Jinja2 >=3.0,<4", "python-libsbml >=5.20,<6"]
[project.optional-dependencies]
dev = [
"black",
"flake8",
"flake8-bugbear",
"isort",
"Jinja2>=3.1",
"pytest",
"pytest-cov",
"python-libsbml>=5.20",
]
[project.scripts]
chaste-sbml = "chaste_sbml.__main__:main"
[project.urls]
source = "https://github.com/Chaste/chaste-codegen-sbml"
[tool.setuptools.package-data]
# Ship the C++ base classes so `chaste-sbml copy-base-classes` can copy them out
# of an installed package. (setuptools-scm also tracks these, but declaring them explicitly
# keeps them in the wheel regardless of the VCS file finder.)
chaste_sbml = [
"SbmlRefModels/src/*.hpp",
"SbmlRefModels/src/*.cpp",
"SbmlRefModels/src/fortests/*.hpp",
"SbmlRefModels/src/fortests/*.cpp",
]
[tool.setuptools_scm]
version_file = "chaste_sbml/_version.py"
[tool.black]
line-length = 120
target-version = ["py310"]
extend-exclude = """
(
templates/
| ^/venv/
)
"""
[tool.isort]
known_first_party = "chaste_sbml"
extend_skip = ["templates", "venv"]
profile = "black"
multi_line_output = 3
include_trailing_comma = "True"
force_grid_wrap = 0
use_parentheses = "True"
ensure_newline_before_comments = "True"
line_length = 100