helpers/python-module: added a do_build() that runs setup.py build.
This commit is contained in:
parent
8a501ac34f
commit
919b60c0b5
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
||||||
# This helper is for templates installing python modules.
|
# This helper is for templates installing python modules.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
do_build()
|
||||||
|
{
|
||||||
|
python setup.py build ${make_build_args} || return 1
|
||||||
|
}
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
if [ -z "$make_install_args" ]; then
|
if [ -z "$make_install_args" ]; then
|
||||||
|
|
Loading…
Reference in a new issue