Mapmerge integration for electronic wafermapping
To be able to build deb files from python packages install stdeb ( you can also install with pip or easy_install ).
git clone https://github.com/bhoflack/stdeb.git cd stdeb && sudo python setup.py install
To be able to build the deb file you require stdeb and python-pygresql. All other dependencies are included in the distribution.
To create a deb file from the distribution type:
python setup.py --command-packages=stdeb.command bdist_deb
This will generate the deb file in the deb_dist folder.
Because of issue astraw/stdeb#32 we have more issues in lenny. I've created the following script to be able to build on lenny:
if [ -e deb_dist ]; then
rm -rf deb_dist
fi
if [ -e dist ]; then
rm -rf dist
fi
if [ -e mapmerge-*.tar.gz ]; then
rm mapmerge-*.tar.gz
fi
python setup.py sdist
py2dsc --force-buildsystem=False dist/mapmerge-*.tar.gz
cd deb_dist/mapmerge-*
debuild -us -uc
To install the deb file execute:
sudo apt-get install mapmerge
This will install jinja2, stomp.py.