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 (20 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-FileCopyrightText: 2023 The meson-python developers
#
# SPDX-License-Identifier: MIT

project('dep')

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

py.install_sources(
    'dep.py',
)

install_data(
    'data.txt',
    # Prior to meson 1.3.0, the default install path for subproject data files
    # is ``{datadir}/{main-project-name}/``. In later versions it is the more
    # correct ``{datadir}/{subproject-name}/``. Specify the install path to
    # obtain uniform behavior across different meson versions.
    install_dir: '{datadir}' / meson.project_name(),
)