diff --git a/CHANGELOG.md b/CHANGELOG.md index 3700015..4628fa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.9.2] - 2020-07-26 + +### Changed + +- Provide Windows wheels without debug information. + ## [0.9.1] - 2020-07-26 ### Changed diff --git a/Cargo.toml b/Cargo.toml index 6df575e..8a8b7ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scandir-rs" -version = "0.9.1" +version = "0.9.2" authors = ["Martin Bammer "] description = "A fast directory scanner." edition = "2018" diff --git a/README.md b/README.md index e4936b0..97f0b6a 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,18 @@ Install ``maturin``: cargo install maturin ``` -Build wheel: +Build wheel (not on Windows): ```sh maturin build --release --strip ``` +Build wheel on Windows: + +```sh +maturin build --release --strip --no-sdist +``` + ``maturin`` will build the wheels for all Python versions installed on your system. ## Building and running tests for different Python versions diff --git a/build_wheels.cmd b/build_wheels.cmd new file mode 100644 index 0000000..599e487 --- /dev/null +++ b/build_wheels.cmd @@ -0,0 +1 @@ +maturin build --release --strip --no-sdist diff --git a/build_wheels.sh b/build_wheels.sh index 48076d9..0e7989e 100644 --- a/build_wheels.sh +++ b/build_wheels.sh @@ -3,21 +3,21 @@ eval "$(pyenv init -)" pyenv shell 3.6.11 pip install -U pytest maturin build --release --strip -i python3.6 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-0.9.1-cp36-cp36m-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-0.9.2-cp36-cp36m-manylinux1_x86_64.whl python3.6 -m pytest pyenv shell 3.7.8 pip install -U pytest maturin build --release --strip -i python3.7 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-0.9.1-cp37-cp37m-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-0.9.2-cp37-cp37m-manylinux1_x86_64.whl python3.7 -m pytest pyenv shell 3.8.5 pip install -U pytest maturin build --release --strip -i python3.8 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-0.9.1-cp38-cp38-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-0.9.2-cp38-cp38-manylinux1_x86_64.whl python3.8 -m pytest pyenv shell 3.9.0b5 pip install -U pytest maturin build --release --strip -i python3.9 -pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-0.9.1-cp39-cp39-manylinux1_x86_64.whl +pip install -U build/temp.linux-x86_64-3.7/scandir-rs/wheels/scandir_rs-0.9.2-cp39-cp39-manylinux1_x86_64.whl python3.9 -m pytest pyenv shell --unset