File: install.sh

package info (click to toggle)
python-pkcs11 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 804 kB
  • sloc: python: 3,844; ansic: 1,981; sh: 33; makefile: 24
file content (16 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# Install dependencies
#

set -xe

# Create virtualenv if needed
[ -d python_env ] || python3 -m venv python_env

# Enable our virtualenv
. python_env/bin/activate

pip install -U pip six
pip install -U setuptools cython
pip install -r requirements.txt -r dev-requirements.txt