forked from iterorganization/TORAX-MUSCLE3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (107 loc) · 3.19 KB
/
pyproject.toml
File metadata and controls
118 lines (107 loc) · 3.19 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
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
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools>=61", "wheel", "packaging", "tomli;python_version<'3.11'", "setuptools_scm>8"]
build-backend = "setuptools.build_meta"
[project]
name = "torax-muscle3"
authors = [
{name = "Mike Sanders", email = "msanders@ignitioncomputing.com"}
]
description = "TORAX IMAS MUSCLE3 wrapper"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.11"
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Environment :: Plugins",
"Framework :: Pytest",
"Framework :: Sphinx",
# Custom trove classifiers are not allowed, and newer versions of python setuptools will fail to build
# when classifiers other than those listed on: https://pypi.org/classifiers/ are included
# "Framework :: IMAS",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
# The license is prepended by private which makes it a valid trove classifier,
# it will also prevent uploading to package indices such as PyPI
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Unix Shell",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System",
"Topic :: System :: Software Distribution",
"Topic :: Utilities",
]
dynamic = ["version"]
dependencies = [
"numpy>=2",
"importlib_resources",
"rich",
"packaging",
# "torax[dev] @ git+https://github.com/google-deepmind/torax.git@main",
"torax[dev]==1.3.0",
"imas-python",
"muscle3",
]
[project.optional-dependencies]
# these self-dependencies are available since pip 21.2
all = [
"torax-muscle3[docs,test,linting]"
]
docs = [
"sphinx>=6.0.0,<7.0.0",
"sphinx-autosummary-accessors>=0.1.2",
"sphinx_immaterial>=0.11.0,<0.12",
"recommonmark>=0.6",
]
test = [
"pytest>=5.4.1",
"pytest-cov>=0.6",
"pytest-xdist",
"pytest-randomly",
]
linting = [
"ruff",
"mypy",
]
[project.urls]
homepage = "https://github.com/iterorganization/TORAX-MUSCLE3"
[tool.setuptools.packages.find]
where = ["."]
include = ["torax_muscle3*"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
testpaths = "tests"
[tool.setuptools_scm]
write_to = "torax_muscle3/_version.py"
local_scheme = "no-local-version"
[tool.ruff]
exclude = ["torax_muscle3/_version.py"]
[tool.mypy]
packages = "torax_muscle3"
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_untyped_decorators = true
exclude = ["tests/.*"]
[[tool.mypy.overrides]]
module = [
"imas.*",
"torax.*",
"libmuscle.*",
"ymmsl.*",
"numpy.*",
"rich.*",
"torax_muscle3._version",
]
ignore_missing_imports = true