5 virtualenv
--python="${PYTHON}" /tmp
/venv
6 source /tmp
/venv
/bin
/activate
8 python
-m pip
install git
+https
://github.com
/pygobject
/pycairo.git
9 python
-m pip
install pyflakes pycodestyle
11 export PKG_CONFIG_PATH
=/tmp
/venv
/share
/pkgconfig
12 export MALLOC_CHECK_
=3
13 export MALLOC_PERTURB_
=$
((${RANDOM} % 255 + 1))
14 PYVER
=$
(python
-c "import sys; sys.stdout.write(str(sys.version_info[0]))")
17 .
/autogen.sh
--with-python=python
21 xvfb-run
-a make check
26 # DOCUMENTATION CHECKS
27 if [[ "${PYVER}" == "2" ]]; then
28 python
-m pip
install sphinx sphinx_rtd_theme
29 python
-m sphinx
-W -a -E -b html
-n docs docs
/_build