File: update-reqs.sh

package info (click to toggle)
python-mbedtls 2.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 960 kB
  • sloc: python: 4,595; sh: 170; makefile: 18
file content (14 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

die() {
    printf "%s\n" "$*"
    exit 1
}

command -v python -m pip-compile 1> /dev/null || die "pip-tools is missing"

for input in setup.py requirements/*.in; do
    pip-compile --upgrade --resolver=backtracking --no-annotate "$input"
done