facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.57k stars 986 forks source link

Demonstration: fixes the pywatchman build script and documents how to publish an updated version to pypi #1074

Open jarshwah opened 1 year ago

jarshwah commented 1 year ago

pywatchman hasn't seen a release in 5 years: https://pypi.org/project/pywatchman/1.4.1/

The main watchman project is now incompatible with pywatchman meaning the pywatchman library is effectively dead without a new release.

I spent some time figuring out how to build it and have published an unofficial version from the latest (as of 2022-11-21) checkout. I've included some sparse notes within setup.py on how I built and published in case it's useful to anyone wanting to publish or maintain their own version, or to spur some interest from Meta folk that might want to publish an official update.

I don't expect this PR to be merged, particularly since only the first commit (fixing the build dir path) is relevant to the official distribution.

https://github.com/facebook/watchman/issues/1065 https://pypi.org/project/pywatchman-unofficial/1.5.0/