diff --git a/.copier-answers.yaml b/.copier-answers.yaml index d670d10..3f792e8 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 2f83523 +_commit: 195919b _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: rust diff --git a/pyproject.toml b/pyproject.toml index 17eb291..7a4c8c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,6 +100,7 @@ rustup target add aarch64-unknown-linux-gnu rustup target add x86_64-unknown-linux-gnu rustup show """ +before-build = "cargo clean --manifest-path {package}/Cargo.toml && rm -f {package}/python_template_rust/*.so" environment = {PATH="$HOME/.cargo/bin:$PATH", CARGO_TERM_COLOR="always"} skip = "*i686* *musllinux*"