summaryrefslogtreecommitdiff
path: root/buildstream/plugins/elements/pip.yaml
blob: 294d4ad9ab8b68ef4f47f15c131cf98b40a3ab9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Pip default configurations

variables:

  pip: pip
  pip-flags: |
    %{pip} install --no-deps --root=%{install-root} --prefix=%{prefix}
  pip-install-package: |
    %{pip-flags} %{conf-root}
  pip-download-dir: |
    .bst_pip_downloads
  pip-install-dependencies: |
    if [ -e %{pip-download-dir} ]; then %{pip-flags} %{pip-download-dir}/*; fi

config:

  configure-commands: []
  build-commands: []

  # Commands for installing the software into a
  # destination folder
  #
  install-commands:
  - |
    %{pip-install-package}
  - |
    %{pip-install-dependencies}

  # Commands for stripping debugging information out of
  # installed binaries
  #
  strip-commands:
  - |
    %{strip-binaries}
  - |
    %{fix-pyc-timestamps}