-
Notifications
You must be signed in to change notification settings - Fork 207
/
pyproject.toml
91 lines (82 loc) · 2.08 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
[project]
name = "khal"
dynamic = ["version"]
description = "Standards based terminal calendar"
readme = "README.rst"
authors = [
{name = "khal contributors", email = "[email protected]"},
]
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console :: Curses",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Communications",
"Topic :: Utilities",
]
requires-python = ">=3.8,<3.13"
dependencies = [
"click>=3.2",
"click_log>=0.2.0",
"icalendar>=4.0.3",
"urwid>=2.6.15",
"pyxdg",
"pytz",
"python-dateutil",
"configobj",
"atomicwrites>=0.1.7",
"tzlocal>=1.0",
]
[project.optional-dependencies]
proctitle = [
"setproctitle"
]
test = [
"pytest",
"freezegun",
"hypothesis",
"packaging",
"vdirsyncer",
"setuptools", # python > 3.12 does not ship pkg_resources anymore
"importlib-metadata; python_version <= '3.9'", # importlib.metadata is in stdlib since 3.10
]
docs = [
"sphinx!=1.6.1",
"sphinxcontrib-newsfeed",
"sphinx-rtd-theme",
]
# install all optional dependencies
all = ["khal[proctitle,test,docs]"]
[project.urls]
homepage = "http://lostpackets.de/khal/"
repository = "https://github.com/pimutils/khal"
[project.scripts]
khal = "khal.cli:main_khal"
ikhal = "khal.cli:main_ikhal"
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages]
find = {}
[tool.setuptools_scm]
version_file = "khal/version.py"
[tool.ruff]
select = ["E", "F", "W", "I", "B0", "UP", "C4"]
ignore = ["B008"]
line-length = 100
target-version = "py38"
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]
[tool.mypy]
ignore_missing_imports = true