Have PAPI find its API definition files 81/9481/2
authorChris Luke <chrisy@flirble.org>
Sat, 4 Nov 2017 03:32:38 +0000 (23:32 -0400)
committerOle Trøan <otroan@employees.org>
Mon, 20 Nov 2017 08:53:05 +0000 (08:53 +0000)
commit52bf22e6322dc8490717aa4246c0f8322f60e6e9
tree5b422f0c7874e0121e1f037329cf4b1d6f10ad33
parent84937522e006a7efb806863172eea9f9fa20dc26
Have PAPI find its API definition files

- Add a basic heuristic to have vpp_papi search in several
  places for the JSON API files.
- It's clever enough to work out the path to these files
  from within several places in the source tree, falling
  back to the system location as a last resort.

Change-Id: I1f823588e5aa0064d545ce4206ab29dbdedc4c7f
Signed-off-by: Chris Luke <chrisy@flirble.org>
src/vpp-api/python/vpp_papi.py