mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
It is enabled everywhere by default since some time now. Breaking, because existing build scripts might need to be adjusted.
18 lines
490 B
Bash
Executable File
18 lines
490 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# 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
|
|
|
|
tox -c python -e py --devenv venv
|
|
venv/bin/pip install --upgrade pip
|