forked from Kitware/pybsm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (76 loc) · 2.28 KB
/
pyproject.toml
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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
###############################################################################
[tool.poetry]
name = "pybsm"
version = "0.1.1"
description = ""
authors = ["Kitware, Inc. <[email protected]>"]
readme = "README.md"
packages = [{include = "pybsm"}]
documentation = "https://pybsm.readthedocs.io/"
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
[tool.poetry.dependencies]
python = ">=3.8.1"
numpy = [
{version = ">=1.23.1,<1.25", python = ">=3.8,<3.12"},
{version = ">=1.26", python = "^3.12"}
]
matplotlib = ">=3.5.2"
scipy = [
{version = ">=1.8.1,<1.9", python = ">=3.8,<3.11"},
{version = ">=1.9", python = "^3.11"}
]
opencv-python = ">=4.6"
setuptools = ">=65.6.1"
[tool.poetry.group.dev.dependencies]
# Linting
flake8 = ">=6"
flake8-mutable = ">=1.2.0"
# Docs
Sphinx = ">=5.3.0"
sphinx-rtd-theme = ">=1.1.1"
sphinx-prompt = ">=1.5.0"
livereload = ">=2.6.3"
# Type checking
mypy = ">=0.991"
types-setuptools = ">=65.6.0.1"
# Jupyter notebook testing
jupyter = ">=1.0.0"
papermill = ">=2.4.0"
# Testing
coverage = ">=7.4.0"
pytest = ">=7.2"
pytest-cov = ">=4"
###############################################################################
[tool.pytest.ini_options]
addopts = [
"-lv", # Show local in trace-backs.
"--doctest-modules", # Increased verbosity.
"--tb=long", # Trace-back print mode.
"--cov=./pybsm", # Cover our package specifically
"--cov=./tests", # Also cover our tests for dead spots
"--cov-report=term", # Coverage report to terminal
"--cov-report=xml:coverage.xml", # for external tool reporting
]
testpaths = [
"tests",
"pybsm",
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
]