From de458ddea42327cf314e69f9eef40d0ec02705ab Mon Sep 17 00:00:00 2001 From: Chris Culhane Date: Mon, 27 Nov 2023 15:28:31 -0800 Subject: [PATCH] Add pyproject.toml to comply with PEP-518 (#1292) Summary: Adds pyproject.toml to comply with PEP-518, which fixes the building of the library by poetry - See https://github.com/python-poetry/poetry/issues/6113 . This is a copy of https://github.com/facebookresearch/fastText/pull/1270 , but I have signed the CLA. Pull Request resolved: https://github.com/facebookresearch/fastText/pull/1292 Differential Revision: D51601444 Pulled By: alexkosau fbshipit-source-id: 357d702281ca3519c3640483eba04d124d0744b4 --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..c9cc5e3b9 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools", "wheel", "pybind11"]