From 746f1a70f4c80c41e40f44d7e7dcf02398de6736 Mon Sep 17 00:00:00 2001 From: "Zeyi (Rice) Fan" Date: Fri, 1 Mar 2024 16:13:47 -0800 Subject: [PATCH] modernize Python packaging for pywatchman Summary: X-link: https://github.com/facebookincubator/zstrong/pull/721 Mostly following practice in: https://packaging.python.org/en/latest/tutorials/packaging-projects/ Switching pywatchman to be built with PEP517. After this we can publish new pywatchman packages to PyPI continuously. Reviewed By: jdelliot Differential Revision: D54343676 fbshipit-source-id: 48a4538db4176662b8af189538dae32b9289d712 --- build/fbcode_builder/manifests/python-setuptools | 9 +++++++++ build/fbcode_builder/manifests/watchman | 1 + 2 files changed, 10 insertions(+) create mode 100644 build/fbcode_builder/manifests/python-setuptools diff --git a/build/fbcode_builder/manifests/python-setuptools b/build/fbcode_builder/manifests/python-setuptools new file mode 100644 index 000000000..7ca2e1e49 --- /dev/null +++ b/build/fbcode_builder/manifests/python-setuptools @@ -0,0 +1,9 @@ +[manifest] +name = python-setuptools + +[download] +url = https://files.pythonhosted.org/packages/c0/7a/3da654f49c95d0cc6e9549a855b5818e66a917e852ec608e77550c8dc08b/setuptools-69.1.1-py3-none-any.whl +sha256 = 02fa291a0471b3a18b2b2481ed902af520c69e8ae0919c13da936542754b4c56 + +[build] +builder = python-wheel diff --git a/build/fbcode_builder/manifests/watchman b/build/fbcode_builder/manifests/watchman index b733a0c09..31596bc93 100644 --- a/build/fbcode_builder/manifests/watchman +++ b/build/fbcode_builder/manifests/watchman @@ -19,6 +19,7 @@ fbthrift folly pcre2 googletest +python-setuptools [dependencies.fbsource=on] rust