File: build

package info (click to toggle)
python-av 16.1.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,728 kB
  • sloc: python: 8,059; sh: 181; ansic: 174; makefile: 140
file content (25 lines) | stat: -rwxr-xr-x 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /usr/bin/env bash

if [[ ! "$_PYAV_ACTIVATED" ]]; then
    export here="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)"
    source "$here/activate.sh"
fi

cd "$PYAV_ROOT"

export PATH="$PYAV_VENV/vendor/$PYAV_LIBRARY_SLUG/bin:$PATH"


env | grep PYAV | sort
echo

echo PKG_CONFIG_PATH: $PKG_CONFIG_PATH
echo LD_LIBRARY_PATH: $LD_LIBRARY_PATH
echo

which ffmpeg || exit 2
ffmpeg -version || exit 3
echo

$PYAV_PIP install -U --pre cython setuptools 2> /dev/null
"$PYAV_PYTHON" setup.py config build_ext --inplace || exit 1