2009-10-18 07:25:16 +00:00
|
|
|
#
|
|
|
|
# This helper is for templates installing python modules.
|
|
|
|
#
|
|
|
|
|
2010-11-27 21:32:13 +00:00
|
|
|
do_build()
|
|
|
|
{
|
2011-02-10 15:28:46 +00:00
|
|
|
python setup.py build ${make_build_args}
|
2010-11-27 21:32:13 +00:00
|
|
|
}
|
|
|
|
|
2009-10-18 07:25:16 +00:00
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
if [ -z "$make_install_args" ]; then
|
2009-12-23 01:06:45 +00:00
|
|
|
make_install_args="--prefix=/usr --root=$DESTDIR"
|
2009-10-18 07:25:16 +00:00
|
|
|
fi
|
2011-02-10 15:28:46 +00:00
|
|
|
python setup.py install ${make_install_args}
|
2009-10-18 07:25:16 +00:00
|
|
|
}
|