-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (57 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
63 lines (57 loc) · 1.45 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
[project]
name = "QuantSI"
description = "unit system as used by the Brian2 simulator"
authors = [
{name = "Sorin Birchi"},
{name = "Marcel Stimberg"},
{name = "Dan Goodman"},
{name = "Romain Brette"},
]
dependencies = ["numpy>=1.25", "sympy>=1.2"]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "GPLv3"}
keywords = ['SI', 'SI units', 'unit system', 'physical quantities']
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering'
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest>=8.3.4",
"pytest-xdist>=1.22.3",
"pdm-backend>=2.4.3",
"pytest-cov>=6.1.1",
"ruff>=0.11.6",
"pre-commit>=4.2.0",
]
docs = [
"sphinx>=7",
"ipython>=5",
"sphinx-tabs>=3.4.7",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.version]
source = "scm"
tag_filter = "v*"
version_format = "src.version_helper:format_version"
write_to = "QuantSI/_version.py"
write_template = "__version__ = '{}'"
[tool.pytest.ini_options]
addopts = "-ra"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.format]
docstring-code-format = true