summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2022-09-19 15:00:38 +0100
committerMichael Williamson <mike@zwobble.org>2022-09-19 15:25:30 +0100
commita35d31c6cb79cf18b12a40fa8feba3b9f9968e36 (patch)
tree8c54ad3d7f20a1afec6a75acbd3f8a341d5d6156 /pyproject.toml
parent8fd96fdb5b546601385001087d2bb5b41404c07c (diff)
Configure cibuildwheel in pyproject.toml
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml8
1 files changed, 8 insertions, 0 deletions
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"