-
Notifications
You must be signed in to change notification settings - Fork 132
/
pyproject.toml
154 lines (146 loc) · 3.17 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
include = [
"AUTHORS.rst",
"CITATION.cff",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.rst",
"LICENSE",
"README.rst",
"VERSION",
"tox.ini",
"ci/",
"docs/",
"examples/",
"src/",
"tests/",
".bumpversion.cfg",
".coveragerc",
".editorconfig",
".flake8",
".pep8speaks.yml",
".readthedocs.yaml",
".scrutinizer.yml",
]
exclude = ["docs/_build"]
[project]
name = "oemof.solph"
dynamic = ["version"]
description = "A model generator for energy system modelling and optimisation."
readme = "README.rst"
authors = [
{name = "oemof developer group", email = "[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
]
requires-python = ">=3.10"
dependencies = [
"blinker",
"dill",
"numpy >= 2.0.0",
"pandas >= 2.2.0",
"pyomo >= 6.8.0",
"networkx",
"oemof.tools >= 0.4.3",
"oemof.network >= 0.5.0",
]
license = {text = "MIT"}
[project.urls]
Homepage = "https://github.com/oemof/oemof-solph"
Documentation = "https://oemof-solph.readthedocs.io/"
Changelog = "https://oemof-solph.readthedocs.io/en/latest/changelog.html"
"Issue Tracker" = "https://github.com/oemof/oemof-solph/issues/"
[project.optional-dependencies]
dev = [
"flit",
"matplotlib",
"nbformat",
"pytest",
"sphinx",
"sphinx_rtd_theme",
"sphinx-copybutton",
"sphinx-design",
"termcolor",
"tox",
]
[project.scripts]
oemof_installation_test = "oemof.solph._console_scripts:check_oemof_installation"
[tool.black]
line-length = 79
target-version = ['py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| ci
)/
'''
[tool.pytest.ini_options]
norecursedirs = [
".git",
".tox",
".env",
"dist",
"build",
"docs/_build",
"migrations",
"examples",
]
python_files = [
"test_*.py",
"*_test.py",
"*_tests.py",
"tests.py",
]
addopts = """
-ra
--strict-markers
--ignore=docs/conf.py
--ignore=setup.py
--ignore=ci
--ignore=.eggs
--doctest-modules
--doctest-glob=\\*.rst
--tb=short
--pyargs
"""
testpaths = [
"src/oemof/solph/",
"tests/",
"docs/",
]
[tool.isort]
force_single_line = true
line_length = 79
known_first_party = "oemof-solph"
default_section = "THIRDPARTY"
forced_separate = "test_oemof-solph"
skip = "migrations"