diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 0b9f53f..b29ede2 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -75,7 +75,7 @@ jobs: export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" fi - maturin build --release --strip -i "$(which python)" + maturin build --release --sdist --strip -i "$(which python)" if [[ "$GITHUB_REF" == refs/tags/v* ]]; then # For idempotency, ignore any existing built wheels that have already been successfully uploaded. twine upload --skip-existing target/wheels/* diff --git a/python/main/pyproject.toml b/python/main/pyproject.toml new file mode 100644 index 0000000..573adf8 --- /dev/null +++ b/python/main/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["maturin>=0.13"] +build-backend = "maturin" diff --git a/python/onepass/pyproject.toml b/python/onepass/pyproject.toml new file mode 100644 index 0000000..573adf8 --- /dev/null +++ b/python/onepass/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["maturin>=0.13"] +build-backend = "maturin"