File: meson.build

package info (click to toggle)
meson-python 0.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,328 kB
  • sloc: python: 3,114; ansic: 304; cpp: 16; makefile: 8
file content (27 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (2)
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
# SPDX-FileCopyrightText: 2023 The meson-python developers
#
# SPDX-License-Identifier: MIT

project('install-subdir', version: '1.0.0')

py = import('python').find_installation()

install_subdir(
  'subdir',
  exclude_files: 'excluded.py',
  exclude_directories: 'excluded',
  install_dir: py.get_install_dir(pure: false),
)

install_subdir(
  'strip',
  strip_directory: true,
  exclude_files: 'excluded.py',
  install_dir: py.get_install_dir(pure: false) / 'test',
)

install_subdir(
  'nested',
  exclude_files: 'deep/excluded.py',
  install_dir: py.get_install_dir(pure: false),
)