2022-06-26 10:26:21 +00:00
|
|
|
diff --git a/setup.py b/setup.py
|
2023-05-24 13:37:59 +00:00
|
|
|
index 337e4be..55ef9a6 100644
|
2022-06-26 10:26:21 +00:00
|
|
|
--- a/setup.py
|
|
|
|
+++ b/setup.py
|
2023-05-24 13:37:59 +00:00
|
|
|
@@ -38,7 +38,7 @@ _apple_devices = ("appletv", "iphone", "ipod", "ipad", "watch")
|
|
|
|
is_macos = sys.platform == "darwin" and not machine().lower().startswith(_apple_devices)
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
ext_modules = []
|
2023-05-24 13:37:59 +00:00
|
|
|
-if is_macos or os.getenv("FORCE_MACOS_MACHINE", "0") == "1":
|
2022-06-26 10:26:21 +00:00
|
|
|
+if False:
|
|
|
|
ext_modules = [
|
|
|
|
Extension(
|
2023-05-24 13:37:59 +00:00
|
|
|
name="_watchdog_fsevents",
|
|
|
|
diff --git a/tests/utils.py b/tests/utils.py
|
|
|
|
index 00dcf40..9fbc42a 100644
|
|
|
|
--- a/tests/utils.py
|
|
|
|
+++ b/tests/utils.py
|
|
|
|
@@ -15,8 +15,6 @@ Emitter: Type[EventEmitter]
|
|
|
|
if sys.platform.startswith("linux"):
|
|
|
|
from watchdog.observers.inotify import InotifyEmitter as Emitter
|
|
|
|
from watchdog.observers.inotify import InotifyFullEmitter
|
|
|
|
-elif sys.platform.startswith("darwin"):
|
2022-06-26 10:26:21 +00:00
|
|
|
- from watchdog.observers.fsevents import FSEventsEmitter as Emitter
|
2023-05-24 13:37:59 +00:00
|
|
|
elif sys.platform.startswith("win"):
|
|
|
|
from watchdog.observers.read_directory_changes import WindowsApiEmitter as Emitter
|
|
|
|
elif sys.platform.startswith(("dragonfly", "freebsd", "netbsd", "openbsd", "bsd")):
|