-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (85 loc) · 2.33 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (85 loc) · 2.33 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
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "pysmspp"
version = "0.0.13"
authors = [
{ name="Unipi developers", email="davide.fioriti@unipi.it" },
]
description = "Basic interface to interact with SMS++"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"numpy<2.4",
"pandas>=0.24",
"netcdf4",
"psutil",
"matplotlib>=3.0",
]
[project.urls]
Homepage = "https://github.com/SPSUnipi/pySMSpp"
Issues = "https://github.com/SPSUnipi/pySMSpp/issues"
[project.optional-dependencies]
dev = [
"pytest",
"coverage",
"pre-commit",
"ncompare",
"mypy",
"matplotlib>=3.0",
"h5py<3.15", # Temporary fix for compatibility issues with netcdf4; issues potentially linked to compatibility to xarray https://github.com/pydata/xarray/issues?q=is%3Aissue%20state%3Aopen%20h5py
]
docs=[
"mkdocs>=1.5",
"mkdocs-material>=9.0",
"mkdocstrings[python]>=0.24",
"mkdocs-jupyter>=0.24",
"mkdocs-autorefs>=0.5",
"pymdown-extensions>=10.0",
"scikit-learn",
"libsvm-official",
]
[tool.setuptools]
packages = ["pysmspp"]
[tool.setuptools_scm]
version_scheme = "no-guess-dev"
[tool.setuptools.package-data]
"pysmspp" = ["py.typed"]
# Pytest settings
[tool.pytest.ini_options]
filterwarnings = [
"error::DeprecationWarning", # Raise all DeprecationWarnings as errors
"error::FutureWarning", # Raise all FutureWarnings as errors
]
# Coverage settings
[tool.coverage.run]
branch = true
source = ["pysmspp"]
omit = ["test/*"]
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:",
]
# Static type checker settings
[tool.mypy]
exclude = ['dev/*', 'docs/examples/*', 'doc/*']
ignore_missing_imports = true
no_implicit_optional = true
warn_unused_ignores = true
show_error_code_links = true
[[tool.mypy.overrides]]
module = "pysmspp.*"
disallow_untyped_defs = true
check_untyped_defs = true
# [tool.setuptools.dynamic]
# version = {attr = "pysmspp.__version__"}