-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove version check for `pipx` Does not appear needed. `pkg_resources` is removed in Python 3.12 * add `MONGOCRYPT_PYTHON` to use a specified python install * add a CONTRIBUTING.md
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -222,6 +222,7 @@ run_ctest() { | |
|
||
run_python() { | ||
pys=( | ||
"${MONGOCRYPT_PYTHON:-}" | ||
py | ||
python3.14 | ||
python3.13 | ||
|
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,14 @@ | ||
# Formatting | ||
|
||
To format, install `pipx` and run: | ||
```bash | ||
./etc/format-all.sh | ||
``` | ||
|
||
To use a specified python install, set `MONGOCRYPT_PYTHON`: | ||
|
||
```bash | ||
# Set MONGOCRYPT_PYTHON to a python install with pipx installed. | ||
export MONGOCRYPT_PYTHON=python | ||
./etc/format-all.sh | ||
``` |
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