File: setup

package info (click to toggle)
python-ttn-client 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 224 kB
  • sloc: python: 493; sh: 13; makefile: 4
file content (16 lines) | stat: -rwxr-xr-x 262 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
# Setups the repository.

# Stop on errors
set -e

if [ ! -n "$DEVCONTAINER" ] && [ ! -n "$VIRTUAL_ENV" ];then
  python3 -m venv venv
  source venv/bin/activate
fi

python3 -m pip install -r requirements_dev.txt

pre-commit install

echo Done