Notes python git paquet Debian deb

Si existe déjà un dossier debian

sudo apt-get install devscripts fakeroot

Si existe déjà un dossier debian Exemple avec http://edf-hpc.github.io/slurm-web/installation.html

debuild -us -uc

Si existe déjà un dossier debian Exemple avec https://github.com/gingergeeks/pyslurm

debuild -us -uc -b
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: source package python-pyslurm
dpkg-buildpackage: source version 2.2.8-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Ramon Bastiaans <ramon.bastiaans@surfsara.nl>
dpkg-source --before-build pyslurm
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: Unmet build dependencies: libslurm-dev python-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed

sudo apt-get install -y libslurm-dev python-dev debuild -us -uc -b

Si pas de dossier debian

pip install --user make-deb export PATH=$PATH:~/.local/bin/

Ou voir equivs http://wiki.sc3.uis.edu.co/index.php/Slurm-web_Installation