You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
578 B
Meson
23 lines
578 B
Meson
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
|
|
moduledir = join_paths(pkgdatadir, 'peridot')
|
|
|
|
python = import('python')
|
|
|
|
conf = configuration_data()
|
|
conf.set('PYTHON', python.find_installation('python3').full_path())
|
|
conf.set('pkgdatadir', pkgdatadir)
|
|
configure_file(
|
|
input: 'peridot.in',
|
|
output: 'peridot',
|
|
configuration: conf,
|
|
install: true,
|
|
install_dir: get_option('bindir')
|
|
)
|
|
|
|
peridot_sources = [
|
|
'__init__.py',
|
|
'main.py'
|
|
]
|
|
|
|
install_data(peridot_sources, install_dir: moduledir)
|