seb-m / pyinotify

Monitoring filesystems events with inotify on Linux.
http://github.com/seb-m/pyinotify/wiki
MIT License
2.29k stars 379 forks source link

MacOS support #198

Open brunocrt opened 2 years ago

brunocrt commented 2 years ago

It would be a good idea build a support for MacOS.

Many MacOS users use python and pyinotify could be used as well!

When I try to install pyinotify using pip on MacOS 11.6 it shows the error message bellow.

WARNING: Discarding https://files.pythonhosted.org/packages/40/54/6a5c5dee4f4393098cc56329fbc724c1c39389f8164a1b14c031d59937f3/pyinotify-0.9.0.tar.gz#sha256=af1f7d22067010cf29dd35fe17f8715f816f026c4ed769f7383fd419d4af9fd6 (from https://pypi.org/simple/pyinotify/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement pyinotify (from versions: 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6)
ERROR: No matching distribution found for pyinotif
rollcat commented 2 years ago

inotify is a low-level, Linux-specific API. It's not supported under macOS, or any other operating system, like Windows or the BSDs.