File: meson.build

package info (click to toggle)
meson-python 0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,120 kB
  • sloc: python: 2,788; ansic: 219; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 438 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
# SPDX-FileCopyrightText: 2022 The meson-python developers
#
# SPDX-License-Identifier: MIT

project('module-types', 'c', version: '1.0.0')

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

py.install_sources('file.py')
py.install_sources(
    'package' / '__init__.py',
    subdir: 'package',
)
py.install_sources(
    'namespace' / 'data.py',
    subdir: 'namespace',
)
py.extension_module(
    'native',
    'native.c',
    install: true,
)