diff --git a/debian_stable_wheels.inc b/debian_stable_wheels.inc new file mode 100644 index 00000000..36e6f927 --- /dev/null +++ b/debian_stable_wheels.inc @@ -0,0 +1 @@ +cgcs-patch-wheel diff --git a/sw-patch/debian/deb_folder/control b/sw-patch/debian/deb_folder/control index 71adfdc8..4f99576a 100644 --- a/sw-patch/debian/deb_folder/control +++ b/sw-patch/debian/deb_folder/control @@ -5,7 +5,8 @@ Maintainer: StarlingX Developers Build-Depends: debhelper-compat (= 13), dh-python, python3-all, - python3-setuptools + python3-setuptools, + python3-wheel Build-Depends-Indep: python3-keystonemiddleware, python3-lxml, @@ -57,3 +58,12 @@ Depends: tsconfig Description: StarlingX platfom patching (python3) StarlingX platform patching system python libraries + +Package: cgcs-patch-wheel +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Description: StarlingX - platform patching wheel + Starlingx Config Info + . + This is the support package for the PEP 427 wheel version of the package, + required for using pip inside a virtual environment. \ No newline at end of file diff --git a/sw-patch/debian/deb_folder/rules b/sw-patch/debian/deb_folder/rules index f1b5eb8a..0ff7bd1b 100755 --- a/sw-patch/debian/deb_folder/rules +++ b/sw-patch/debian/deb_folder/rules @@ -19,6 +19,9 @@ override_dh_auto_clean: override_dh_install: python3 setup.py install -f --install-layout=deb --root=${DEBIAN_DESTDIR} + python3 setup.py bdist_wheel \ + --universal \ + -d $(CURDIR)/debian/cgcs-patch-wheel/usr/share/python-wheels install -m 755 -d ${DEBIAN_DESTDIR}/usr/sbin install -m 755 -d ${DEBIAN_DESTDIR}/usr/share/bash-completion/completions