pyFAI/build-deb.sh

12 lines
255 B
Bash
Executable File

#!/bin/sh
# Script that builds a debian package from this library
rm -rf dist
python setup.py sdist
cd dist
tar -xzf pyFAI-*.tar.gz
cd pyFAI*
python setup.py --command-packages=stdeb.command bdist_deb
sudo su -c "dpkg -i deb_dist/pyfai*.deb"
cd ../..