File: meson.build

package info (click to toggle)
cinnamon 6.4.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,300 kB
  • sloc: javascript: 54,298; ansic: 51,499; python: 21,971; xml: 2,803; sh: 96; makefile: 27; perl: 13
file content (23 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pymodule = import('python')

python3 = pymodule.find_installation('python3')

install_path = python3.get_install_dir()
if get_option('py3modules_dir') != ''
  install_path = get_option('py3modules_dir')
endif

message('Installing python modules to: @0@'.format(install_path))

# python3.install_sources says it accepts the same args as install_data, but it doesn't
# recognize install_dir.
install_data(
  [
    'cinnamon/__init__.py',
    'cinnamon/harvester.py',
    'cinnamon/logger.py',
    'cinnamon/proxygsettings.py',
    'cinnamon/updates.py'
  ],
  install_dir: join_paths(install_path, 'cinnamon'),
)