forked from 4C-multiphysics/fourcipp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (36 loc) · 1.28 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (36 loc) · 1.28 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
## Overall setup
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "FourCIPP"
authors = [{ name = "FourCIPP Authors" }]
description = "A streamlined Python Parser for 4C input files"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.10"
dynamic = ["dependencies", "version"]
[project.urls]
Repository = "https://github.com/4C-multiphysics/fourcipp/"
Issues = "https://github.com/4C-multiphysics/fourcipp/issues/"
[project.scripts]
fourcipp = "fourcipp.utils.cli:main"
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.in"] } # No versions fixed
optional-dependencies = { safe = { file = [
"requirements.txt",
] } } # Every package version is fixed
[tool.setuptools.package-data]
"fourcipp.config" = ["*.json", "*.yaml"]
[project.optional-dependencies]
dev = ["pre-commit", "pytest", "pytest-cov", "pip-tools", "pytest-xdist"]
[tool.setuptools_scm]
version_file = "src/fourcipp/version.py"
version_scheme = "post-release"
local_scheme = "no-local-version"
## Tools
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-p pytest_cov --cov-report=term --cov-report=html --cov-fail-under=85 --cov=src/fourcipp/"
markers = ["performance: mark test as a performance test"]