-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
69 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# CHANGELOG | ||
|
||
## [1.0] - 2021-10-08 | ||
|
||
- First stable release. | ||
|
||
## [0.1] - 2021-09-05 | ||
|
||
- Initial version. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Notes for developers | ||
|
||
## Install dependencies | ||
|
||
- Install Rust with help of `rustup` (https://rustup.rs/) | ||
- Install Pythons dependencies: | ||
```shell | ||
python3 -m pip install .[pillow] | ||
``` | ||
|
||
## Build Rust library | ||
|
||
### Debug version | ||
|
||
```shell | ||
maturin develop | ||
``` | ||
|
||
### Optimized version | ||
|
||
```shell | ||
maturin develop --release --strip | ||
``` | ||
|
||
## Run tests | ||
|
||
```shell | ||
pytest --benchmark-skip | ||
``` | ||
|
||
## Run benchmark | ||
|
||
```shell | ||
pytest -s tests/test_benchmark.py | ||
``` | ||
|
||
## Build release wheels and sdist | ||
|
||
```shell | ||
maturin build --release --strip | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters