-
Notifications
You must be signed in to change notification settings - Fork 78
/
pyproject.toml
91 lines (79 loc) · 2.09 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
81
82
83
84
85
86
87
88
89
90
91
[build-system]
build-backend = 'mesonpy'
requires = [
'meson-python',
'numpy',
'cython'
]
[project]
name = 'solcore'
description= "Python-based solar cell simulator"
readme = "README.md"
license = {file = "GNU-LGPL.txt"}
requires-python = ">=3.7"
keywords = ["photovoltaics", "modelling", "physics"]
authors = [
{name = "The Quantum Photovoltaics Group", email = "[email protected]"}
]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"numpy>=1.21.0",
"matplotlib",
"scipy",
"tmm",
"natsort",
"regex",
"cycler",
"pyyaml",
"yabox",
"joblib",
"solsesame",
]
dynamic = ["version"]
[project.urls]
homepage = "https://www.solcore.solar/"
documentation = "http://solcore5.readthedocs.io"
repository = "https://github.com/qpv-research-group/solcore5"
changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-mock",
"nbconvert",
"nbformat",
"pytest-rerunfailures",
"pytest-xdist",
]
doc = ["Sphinx", "recommonmark"]
dev = ["pre-commit"]
[tool.spin]
package = 'solcore'
[tool.spin.commands]
"Build" = ["spin.cmds.meson.build", "spin.cmds.meson.test"]
"Extensions" = ['.spin/cmds.py:codecov', '.spin/cmds.py:install_dependencies']
[tool.pytest.ini_options]
addopts = "--cov=solcore --cov-report=html:htmlcov -p no:warnings -n \"auto\" -v"
[tool.isort]
line_length = 88
multi_line_output = 3
include_trailing_comma = true
[tool.flake8]
max-line-length = 88
exclude = ".venv/"
extend-ignore = ["E203"]
[tool.mypy]
ignore_missing_imports = true
[tool.mypy-setup]
ignore_errors = true