]> git.proxmox.com Git - ovs.git/blob - tests/atlocal.in
python: Port unixctl to Python.
[ovs.git] / tests / atlocal.in
1 # -*- shell-script -*-
2 VERSION='@VERSION@'
3 BUILDNR='@BUILDNR@'
4 HAVE_OPENSSL='@HAVE_OPENSSL@'
5 HAVE_PYTHON='@HAVE_PYTHON@'
6 PERL='@PERL@'
7
8 if test x"$PYTHON" = x; then
9 PYTHON='@PYTHON@'
10 fi
11
12 PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
13 export PYTHONPATH
14
15 PYTHONIOENCODING=utf_8
16 export PYTHONIOENCODING
17
18 if test $HAVE_PYTHON = yes; then
19 if python -m argparse 2>/dev/null; then
20 :
21 else
22 PYTHONPATH=$PYTHONPATH:$abs_top_srcdir/python/compat
23 export PYTHONPATH
24 fi
25 fi