From a35d31c6cb79cf18b12a40fa8feba3b9f9968e36 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 19 Sep 2022 15:00:38 +0100 Subject: Configure cibuildwheel in pyproject.toml --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index e9a46a2..d18cb3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,3 +6,11 @@ requires = [ "certifi" ] build-backend = "setuptools.build_meta" + +[tool.cibuildwheel] +before-build = [ + "pip install cython==0.29.32", + "cython {project}/jq.pyx", +] +test-requires = "-r test-requirements.txt" +test-command = "pytest {project}/tests" -- cgit v1.2.3