File: setup_env.sh

package info (click to toggle)
python-sparse 0.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,816 kB
  • sloc: python: 11,223; sh: 54; javascript: 10; makefile: 8
file content (11 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
set -euxo pipefail

if [ ! -d ".venv" ]; then
  python -m venv .venv
  source .venv/bin/activate
  pip install -e .[all]
  source ci/clone_array_api_tests.sh
  pip install -r ../array-api-tests/requirements.txt
  pip uninstall -y matrepr
fi