forked from iiasa/ixmp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
114 lines (103 loc) · 2.63 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
[build-system]
requires = ["build", "setuptools-scm"]
[project]
dynamic = ["version"]
name = "ixmp"
description = "The ix modeling platform"
authors = [
{ name = "IIASA Energy, Climate, and Environment (ECE) program" },
]
maintainers = [
{name = "Paul Natsuo Kishimoto", email = "[email protected]"},
{name = "Fridolin Glatter", email = "[email protected]"},
]
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: R",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
]
dependencies = [
"click",
"genno >= 1.12.0",
'importlib_metadata; python_version < "3.8"',
"JPype1 >= 1.2.1",
"openpyxl",
"pandas >= 1.2",
"pint",
"PyYAML",
"xarray",
]
[project.urls]
homepage = "https://github.com/iiasa/ixmp"
repository = "https://github.com/iiasa/ixmp"
documentation = "https://docs.messageix.org/ixmp"
[project.optional-dependencies]
docs = [
"GitPython",
"numpydoc",
"sphinx >= 3.0",
"sphinx_rtd_theme",
"sphinxcontrib-bibtex",
]
report = ["genno[compat,graphviz]"]
tutorial = ["jupyter"]
tests = [
"ixmp[docs,report,tutorial]",
"memory_profiler",
"nbclient >= 0.5",
"pretenders >= 1.4.4",
"pytest >= 5",
"pytest-benchmark",
"pytest-cov",
]
[project.scripts]
ixmp = "ixmp.cli:main"
[tool.coverage.report]
omit = [
"ixmp/utils/sphinx_linkcode_github.py",
]
[tool.isort]
profile = "black"
[tool.mypy]
no_implicit_optional = false
[[tool.mypy.overrides]]
# Packages/modules for which no type hints are available.
module = [
"dask.*",
"jpype",
"memory_profiler",
"pandas.*",
"pyam",
"pretenders.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
# Disable faulthandler plugin on Windows to prevent spurious console noise; see
# - https://github.com/jpype-project/jpype/issues/561
# - https://github.com/iiasa/ixmp/issues/229
# - https://github.com/iiasa/ixmp/issues/247
addopts = """
-m "not rixmp and not performance"
-p no:faulthandler
--benchmark-skip
--cov=ixmp --cov-report="""
markers = [
"rixmp: test of the ixmp R interface.",
"performance: ixmp performance test.",
]
[tool.setuptools.packages]
find = {}
[tool.setuptools_scm]