aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/deb/debian/vpp-python-api.postinst
blob: ca1c856f9ccedcc87205af1d7ea396b9672a1b6b (plain)
1
2
3
4
5
#!/bin/sh -e

# after installing python-api files
python2_sitedir=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
easy_install --install-dir=$python2_sitedir  -z $python2_sitedir/vpp_papi/vpp_papi-*.egg