File: meson.build

package info (click to toggle)
mozo 1.26.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 984 kB
  • sloc: python: 1,462; makefile: 131; sh: 19
file content (27 lines) | stat: -rw-r--r-- 646 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
24
25
26
27
config_py = configuration_data()
config_py.set('prefix', prefix)
config_py.set('datadir', datadir)
config_py.set('pkgdatadir', join_paths(datadir, meson.project_name()))
config_py.set('PACKAGE', meson.project_name())
config_py.set('VERSION', meson.project_version())
config_py.set('GETTEXT_PACKAGE', meson.project_name())

config = configure_file(
  input: 'config.py.in',
  output: 'config.py',
  configuration: config_py,
  )

mozo_sources = [
  config,
  '__init__.py',
  'MainWindow.py',
  'MenuEditor.py',
  'util.py',
]

py_inst = python.find_installation('python3')
py_inst.install_sources(mozo_sources,
  pure: true,
  subdir: 'Mozo'
  )