This PR adds the necessary scripts and GitHub workflows to build the Python project into a Debian package python3-smartmeter-datacollector.
The process is as follows:
use pipenv run debianize to generate the debian directory
update the changelog in debian/changelog
check in all relevant changes in the debian directory
use pipenv run build_srcdeb to build a Debian source package based on the Python source distribution and on the debian directory
either use pipenv run build_deb to build a Debian binary package for the local architecture or use pbuilder to build a Debian binary package for another architecture (e.g. Raspberry Pi)
The new GitHub workflow build-deb.yml uses pbuilder to build Debian binary packages for Debian Buster amd64 and Raspberry Pi OS (Debian Buster) armhf.
This PR adds the necessary scripts and GitHub workflows to build the Python project into a Debian package
python3-smartmeter-datacollector
.The process is as follows:
pipenv run debianize
to generate thedebian
directorydebian/changelog
debian
directorypipenv run build_srcdeb
to build a Debian source package based on the Python source distribution and on thedebian
directorypipenv run build_deb
to build a Debian binary package for the local architecture or usepbuilder
to build a Debian binary package for another architecture (e.g. Raspberry Pi)The new GitHub workflow
build-deb.yml
usespbuilder
to build Debian binary packages forDebian Buster amd64
andRaspberry Pi OS (Debian Buster) armhf
.