☰
Debian Codegraph
@
1.3.1-1
1.3.0-1
/
/
scripts
/
setup
☽
☼
scripts/setup
code
plain
raw
MIT
2024 Angel Nunez Mencias
debian/copyright
1
#!/usr/bin/env bash
2
# Setups the repository.
3
4
# Stop on errors
5
set -e
6
7
if [ ! -n "$DEVCONTAINER" ] && [ ! -n "$VIRTUAL_ENV" ];then
8
python3 -m venv venv
9
source venv/bin/activate
10
fi
11
12
python3 -m pip install -r requirements_dev.txt
13
14
pre-commit install
15
16
echo Done