-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
105 lines (84 loc) · 2.96 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
# Copyright (C) British Crown (Met Office) & Contributors.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
[build-system]
requires = ["setuptools >= 49.0"]
build-backend = "setuptools.build_meta"
[project]
name = "metomi-isodatetime"
authors = [
{name = "Met Office", email = "[email protected]"}
]
description = "Python ISO 8601 date time parser and data model/manipulation utilities"
license = {text = "LGPLv3"}
readme = "README.md"
keywords = ["isodatetime", "datetime", "iso8601", "date", "time", "parser"]
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities"
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/metomi/isodatetime"
Repository = "https://github.com/metomi/isodatetime"
Changelog = "https://github.com/metomi/isodatetime/blob/master/CHANGES.md"
[tool.setuptools]
platforms = ["any"]
[tool.setuptools.dynamic]
version = {attr = "metomi.isodatetime.FULL_VERSION"}
[tool.setuptools.packages.find]
include = ["metomi*"]
exclude = ["metomi.isodatetime.tests*"]
[tool.setuptools.package-data]
"metomi.isodatetime" = ["py.typed"]
[project.scripts]
isodatetime = "metomi.isodatetime.main:main"
[project.optional-dependencies]
test = [
"coverage",
"pytest>=6",
"pytest-env",
"pytest-cov",
"pytest-xdist",
"flake8",
'flake8-type-checking; python_version > "3.7"',
"bandit>=1.7.1",
]
all = [
"metomi-isodatetime[test]",
]
[tool.pytest.ini_options]
addopts = "-v -s -ra --color=auto --doctest-glob='*.md' -m 'not slow'"
markers = [
"slow: mark a test as slow - it will be skipped by default (use '-m \"slow or not slow\"' to run all tests)"
]
testpaths = [
"metomi/isodatetime/tests",
"README.md",
]
[tool.bandit]
exclude_dirs = ["metomi/isodatetime/tests"]