File: pyproject.toml

package info (click to toggle)
cftime 1.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 388 kB
  • sloc: python: 1,922; sh: 23; makefile: 17
file content (102 lines) | stat: -rw-r--r-- 1,943 bytes parent folder | download
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
[project]
name = "cftime"
version = "1.6.5"
description = "Time-handling functionality from netcdf4-python"
readme = "README.md"
authors = [
    { name="Jeff Whitaker", email="whitaker.jeffrey@gmail.com"}
]
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
    'Development Status :: 5 - Production/Stable',
    'Operating System :: MacOS :: MacOS X',
    'Operating System :: Microsoft :: Windows',
    'Operating System :: POSIX :: Linux',
    '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 :: 3.14',
    'Topic :: Scientific/Engineering',
]
dependencies = [
    "numpy>=1.21.2",
]
requires-python = ">=3.10"

[dependency-groups]
dev = [
    "check-manifest",
    "coverage>=7.10.0",
    "coveralls",
    "cython>=0.29.20",
    "pytest",
    "sphinx",
    "twine",
]

[build-system]
requires = [
    "setuptools>=77.0.1",
    "cython>=0.29.20",
    "numpy>=2.0.0,<3",
]
build-backend = "setuptools.build_meta"

[tool.setuptools]
package-dir = {"" = "src"}

[tool.pytest.ini_options]
testpaths = "test"
addopts = [
    "-ra",
    "-v",
    "--doctest-modules",
]
doctest_optionflags = [
    "NORMALIZE_WHITESPACE",
    "ELLIPSIS",
]

[tool.coverage.run]
source = ["src"]
relative_files = true
branch = true
plugins = [
    "Cython.Coverage",
]
include = [
    "src/cftime/*",
]
omit = [
    "setup.py",
    "docs/*",
    "ci/*",
    "test/*",
    ".eggs",
]

[tool.coverage.report]
show_missing = true
exclude_lines = [
    "pragma: no cover",
    "def __repr__",
    "if __name__ == .__main__.:",
]

[tool.check-manifest]
ignore = [
    "*.yml",
    ".coveragerc",
    ".gitignore",
    "README.release",
    "ci",
    "ci/*",
    "docs",
    "docs/*",
    "test",
    "test/*",
]