diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-05-20 16:01:38 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-05-20 16:01:38 +0900 |
commit | 9e20cd137520e339472c8eeebda15909a3175d77 (patch) | |
tree | f05aa99e8bfc17229c59afe75f564855fd23de6d /buildstream/plugins/elements | |
parent | 7277aab0bcbc4df10c0419af4a0a738ce7da0aea (diff) | |
download | buildstream-9e20cd137520e339472c8eeebda15909a3175d77.tar.gz |
distutils plugin: Added %{install-args} variable
Allows more dynamic configuration of distutils install lines
Diffstat (limited to 'buildstream/plugins/elements')
-rw-r--r-- | buildstream/plugins/elements/distutils.yaml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/buildstream/plugins/elements/distutils.yaml b/buildstream/plugins/elements/distutils.yaml index 16c29bf70..3a8b119fc 100644 --- a/buildstream/plugins/elements/distutils.yaml +++ b/buildstream/plugins/elements/distutils.yaml @@ -10,11 +10,14 @@ variables: %{python} setup.py build + install-args: | + + --prefix "%{prefix}" \ + --root "%{install-root}" + python-install: | - %{python} setup.py install \ - --prefix "%{prefix}" \ - --root "%{install-root}" + %{python} setup.py install %{install-args} config: |