4 export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION
=python
6 if [ ! -d .venv
]; then
12 if [ `uname -s` == Darwin
]
14 if [ ! -e /usr
/local
/opt
/curl-openssl
]
16 echo Please run
: brew
install curl-openssl
, and try again
19 export PYCURL_CURL_CONFIG
=/usr
/local
/opt
/curl-openssl
/bin
/curl-config
20 export LDFLAGS
=-L/usr
/local
/opt
/openssl
/lib
21 export CPPFLAGS
=-I/usr
/local
/opt
/openssl
/include
24 pip
install -U pip wheel |
cat
25 pip
install -r requirements.txt |
cat
27 protoc
-I=..
/pdns
/ --python_out=. ..
/pdns
/dnsmessage.proto
28 protoc
-I=..
/pdns
/ --python_out=. ..
/pdns
/dnstap.proto
32 if [ -z "${DNSDISTBIN}" ]; then
33 DNSDISTBIN
=$
(ls ..
/pdns
/dnsdistdist
/dnsdist-
*/dnsdist
)
38 if [ "${PDNS_DEBUG}" = "YES" ]; then
48 if ! nosetests
--with-xunit $@
2>&1 |
tee "${out}" ; then
49 for log
in configs
/*.log
; do
54 echo "=== nosetests log ==="
56 echo "=== end of nosetests log ==="