jgunthorpe / cloud_mdir_sync

Download mailboxes from the cloud into a local MailDir
Other
16 stars 9 forks source link

inotify is not available on macosx-13.1-arm64 on ./cloud-mdir-sync #12

Open Vu1k opened 1 year ago

Vu1k commented 1 year ago

Hi,

I clone the repository and ran ./cloud-mdir-sync, then this message stopped the process:

Collecting pyinotify>=0.9.6
  Using cached pyinotify-0.9.6.tar.gz (60 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      inotify is not available on macosx-13.1-arm64
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Thanks

wang2357 commented 1 month ago

I have migrated the code in my own fork to use watchdog instead of pyinotify. It works now on MacOS. You can check out the code at my fork of the code - before it is merged to the main repository.