File: generate.sh

package info (click to toggle)
pykcs11 1.5.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 808 kB
  • sloc: python: 6,520; cpp: 1,424; ansic: 1,360; makefile: 77; sh: 18
file content (18 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

set -e

cd $(dirname $0)

# Enable a virtualenv before running the script to avoid modifying
# the system Python libraries

python3 -m venv tmp
source tmp/bin/activate
pip3 install sphinx setuptools

(cd .. ; python3 -m pip install .)
make html

deactivate
rm -r tmp