-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
53 lines (47 loc) · 1.39 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
# see https://github.com/karlicoss/pymplate for up-to-date reference
[project]
dynamic = ["version"] # version is managed by setuptools_scm
name = "dron"
dependencies = [
"click" , # CLI
"prompt_toolkit", # CLI
"tabulate" , # for monitor
"termcolor" , # for monitor
"mypy" , # for checking units
"loguru" , # nicer logging
"dbus-python; platform_system != 'Darwin'", # dbus interface to systemd
]
# FIXME dbus
## these need to be set if you're planning to upload to pypi
# description = "TODO"
# license = {file = "LICENSE"}
# authors = [
# {name = "Dima Gerasimov (@karlicoss)", email = "karlicoss@gmail.com"},
# ]
# maintainers = [
# {name = "Dima Gerasimov (@karlicoss)", email = "karlicoss@gmail.com"},
# ]
#
# [project.urls]
# Homepage = "https://github.com/karlicoss/pymplate"
##
[project.scripts]
dron = "dron:main"
[project.optional-dependencies]
testing = [
"pytest",
"ruff",
"mypy",
"lxml", # for mypy html coverage
]
notify-telegram = [
# version before that had a bug that prevented it from working
# see https://github.com/rahiel/telegram-send/issues/115#issuecomment-1368728425
"telegram-send>=0.37",
]
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "python-simplified-semver"
local_scheme = "dirty-tag"