summaryrefslogtreecommitdiffstats
path: root/build-root/scripts
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@gmail.com>2016-10-28 22:52:36 +0000
committerChris Luke <chris_luke@comcast.com>2016-10-29 20:14:56 +0000
commit6ce685d79b1365588a92340e5c45cdbdea92d5db (patch)
treecaec60cd75a5d06c1611a9a103daff7fcf29b8f2 /build-root/scripts
parent8c1bebe83f7e277a36b8f570ed88363a5f3639b3 (diff)
Initial deb packaging of vpp-python-api
Change-Id: I14d5180d6abd59b813906011718121a2bbc9bafd Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Diffstat (limited to 'build-root/scripts')
-rwxr-xr-xbuild-root/scripts/find-python-api-contents8
1 files changed, 8 insertions, 0 deletions
diff --git a/build-root/scripts/find-python-api-contents b/build-root/scripts/find-python-api-contents
new file mode 100755
index 00000000000..9b390e75849
--- /dev/null
+++ b/build-root/scripts/find-python-api-contents
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+rm -f $2
+
+for i in $(find ${1}/vpp-api/lib/python2.7/site-packages/ -type f -print); do
+ echo ../${i} /usr/lib/python2.7/site-packages/vpp_papi >> ${2}
+done
+