Express "watchdog" dependency via a setup.py extra

For consistency with PR #388 (a06cf2ea4c966e74ad63dca2abd8a58cc2a6e33e)
This commit is contained in:
Chris Wood 2018-07-25 14:54:28 -04:00 committed by Jean-Paul Calderone
parent 806215ad99
commit 76bb84a77f

View File

@ -255,6 +255,7 @@ setup(name="tahoe-lafs", # also set in __init__.py
install_requires=install_requires,
extras_require={
':sys_platform=="win32"': ["pypiwin32"],
':sys_platform!="win32" and sys_platform!="linux2"': ["watchdog"], # For magic-folder on "darwin" (macOS) and the BSDs
"test": [
# Pin a specific pyflakes so we don't have different folks
# disagreeing on what is or is not a lint issue. We can bump