Download Evaluate/projects/deltachat-core/rust/scripts/make-python-testenv.sh from SYSUSELab/RustRepoTrans: direct link, hf CLI and curl.
- Browser
- Download file 509 Bytes
-
https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/deltachat-core/rust/scripts/make-python-testenv.sh
- Command line
-
hf download hf://datasets/SYSUSELab/RustRepoTrans/Evaluate/projects/deltachat-core/rust/scripts/make-python-testenv.sh
-
curl -L -o make-python-testenv.sh https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/deltachat-core/rust/scripts/make-python-testenv.sh
509 Bytes
| # | |
| # Script to create or update a python development environment. | |
| # It rebuilds the core and bindings as needed. | |
| # | |
| # After running the script, you can either | |
| # run `pytest` directly with `venv/bin/pytest python/` | |
| # or activate the environment with `. venv/bin/activate` | |
| # and run `pytest` from there. | |
| set -euo pipefail | |
| export DCC_RS_TARGET=debug | |
| export DCC_RS_DEV="$PWD" | |
| cargo build -p deltachat_ffi --features jsonrpc | |
| tox -c python -e py --devenv venv | |
| venv/bin/pip install --upgrade pip | |