Files
integ/python/pynetlink/debian/deb_folder/rules
reynaldopgomes 77732293d6 Python Netlink library
This commit creates the Netlink shared library for Python. In this
release, only Netlink DPLL interface has been implemented to meet the
requirements for communicating with DPLL modules standalone and
integrated in NICs.

TEST PLAN:
PASS: Compile the code and run unit tests
PASS: Build deb packages for python wheel and std distribution

Story: 2011345
Task: 51672

Change-Id: I7fe9a0ff36aa3f74c8453dc684e2e547f32ef989
Signed-off-by: Reynaldo P Gomes <reynaldo.patronegomes@windriver.com>
2025-03-10 09:13:52 -03:00

24 lines
557 B
Makefile

#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Uncomment to force running of the unit tests
#export DEB_BUILD_OPTIONS=""
# Disable python byte compiling
export PYTHONDONTWRITEBYTECODE=1
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_install:
python3 setup.py bdist_wheel -d debian/pynetlink-wheel/usr/share/python-wheels
dh_install
override_dh_auto_test:
dh_auto_test -- --system=custom --test-args="{interpreter} -m pynetlink.tests.run"
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3