diff options
| -rw-r--r-- | .github/workflows/build.yml | 5 | ||||
| -rw-r--r-- | pyproject.toml | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c033b71..5ca2002 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,11 +95,6 @@ jobs: runs-on: ${{ matrix.os }} - env: - CIBW_BEFORE_BUILD: "pip install cython==0.29.32 && cython {project}/jq.pyx" - CIBW_TEST_REQUIRES: "-r test-requirements.txt" - CIBW_TEST_COMMAND: "py.test {project}/tests" - steps: - uses: actions/checkout@v2 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" |
