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 (19 lines) | stat: -rwxr-xr-x 379 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# Install dependencies for nFast tests on RHEL7
#

set -xe

# Enable Python 3.5 from SCL
. /opt/rh/rh-python35/enable

# Create virtualenv if needed
[ -d python_env ] || virtualenv -p python3 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