diff options
author | Mark H Weaver <mhw@netris.org> | 2018-03-16 03:27:50 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2018-03-16 05:01:54 -0400 |
commit | e35b09ca71354f47a9fd6a7f568aa3831189c799 (patch) | |
tree | 2f1ec374cf9837c5347f98d6d6675c2af7c46c1f /guix | |
parent | 9e58fd9d7be4f630a8bb8e6deacaddd701534e76 (diff) | |
download | gnu-guix-e35b09ca71354f47a9fd6a7f568aa3831189c799.tar gnu-guix-e35b09ca71354f47a9fd6a7f568aa3831189c799.tar.gz |
build-system/python: Use invoke instead of system*.
* guix/build/python-build-system.scm (call-setuppy): Use invoke.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/build/python-build-system.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guix/build/python-build-system.scm b/guix/build/python-build-system.scm index 507cc27e23..c0a432038e 100644 --- a/guix/build/python-build-system.scm +++ b/guix/build/python-build-system.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2015, 2016, 2018 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> -;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> +;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> ;;; @@ -121,9 +121,9 @@ (format #t "running \"python setup.py\" with command ~s and parameters ~s~%" command params) (if use-setuptools? - (zero? (apply system* "python" "-c" setuptools-shim - command params)) - (zero? (apply system* "python" "./setup.py" command params)))) + (apply invoke "python" "-c" setuptools-shim + command params) + (apply invoke "python" "./setup.py" command params))) (error "no setup.py found"))) (define* (build #:key use-setuptools? #:allow-other-keys) |