Add python source distribution (#112)
This commit is contained in:
parent
521814979a
commit
ad5a7797c6
|
@ -75,7 +75,7 @@ jobs:
|
||||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init --path)"
|
eval "$(pyenv init --path)"
|
||||||
fi
|
fi
|
||||||
maturin build --release --strip -i "$(which python)"
|
maturin build --release --sdist --strip -i "$(which python)"
|
||||||
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
|
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
|
||||||
# For idempotency, ignore any existing built wheels that have already been successfully uploaded.
|
# For idempotency, ignore any existing built wheels that have already been successfully uploaded.
|
||||||
twine upload --skip-existing target/wheels/*
|
twine upload --skip-existing target/wheels/*
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["maturin>=0.13"]
|
||||||
|
build-backend = "maturin"
|
|
@ -0,0 +1,3 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["maturin>=0.13"]
|
||||||
|
build-backend = "maturin"
|
Loading…
Reference in New Issue