From 88ede50d106c8cea494aacdcd346911b1058ffd1 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Mon, 22 Jun 2020 21:04:20 +0100 Subject: xml: T2588: code to extract defaults values from xml --- debian/control | 1 + debian/rules | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'debian') diff --git a/debian/control b/debian/control index bf330c35c..e7aeeda93 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 9), python3, python3-setuptools, quilt, + python3-xmltodict, python3-lxml, python3-nose, python3-coverage, diff --git a/debian/rules b/debian/rules index 3e408b538..c080b8633 100755 --- a/debian/rules +++ b/debian/rules @@ -23,6 +23,10 @@ override_dh_auto_build: override_dh_auto_install: dh_auto_install + + # convert the XML to dictionaries + env PYTHONPATH=python python3 python/vyos/xml/generate.py + cd python; python3 setup.py install --install-layout=deb --root ../$(DIR); cd .. # Install scripts -- cgit v1.2.3