]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
pyproject.toml: 'watchdog' added as optional dependency
authorAleš Mrázek <ales.mrazek@nic.cz>
Thu, 17 Oct 2024 15:42:30 +0000 (17:42 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 3 Dec 2024 07:53:30 +0000 (08:53 +0100)
pyproject.toml
setup.py

index 9504e3c2b57a5746187a57baf772b6f5dfa61224..c2c6399271bb3e2dbafbac1f58efc580928d9473 100644 (file)
@@ -34,9 +34,11 @@ pyyaml = "*"
 supervisor = "*"
 typing-extensions = "*"
 prometheus-client = { version = "*", optional = true }
+watchdog = { version = "*", optional = true }
 
 [tool.poetry.extras]
 prometheus = ["prometheus-client"]
+watchdog = ["watchdog"]
 
 [tool.poetry.group.dev.dependencies]
 poetry = "^1.8.3"
index fccda515ec942ad7772681fc09dc342b53de73da..5ab4ae08ef46a1c01be5c29ee5e2e59e5378421c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ install_requires = \
 ['aiohttp', 'jinja2', 'pyyaml', 'supervisor', 'typing-extensions']
 
 extras_require = \
-{'prometheus': ['prometheus-client']}
+{'prometheus': ['prometheus-client'], 'watchdog': ['watchdog']}
 
 entry_points = \
 {'console_scripts': ['knot-resolver = knot_resolver.manager.main:main',