Skip to content

Commit

Permalink
Remove custom byte-compiling support
Browse files Browse the repository at this point in the history
This is now supported in upstream Meson 1.2. While this is a significant
bump in the build requirement, distributions that really want the byte
compiling can easily back out this patch, and also we're not exactly
moving quickly towards a stable release of this branch.
  • Loading branch information
kaiw committed Mar 23, 2024
1 parent 59f0971 commit 361ac82
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
7 changes: 1 addition & 6 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'meld',
version: '3.22.0',
meson_version: '>= 0.59.0',
meson_version: '>= 1.2.0',
)

python = import('python')
Expand Down Expand Up @@ -59,8 +59,3 @@ gnome.post_install(
gtk_update_icon_cache: true,
update_desktop_database: true,
)

meson.add_install_script(
'meson_post_install.py',
get_option('byte-compile') ? python3.get_install_dir() : '',
)
6 changes: 0 additions & 6 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ option(
choices: ['', 'Devel'],
description: 'Build with specified application ID',
)
option(
'byte-compile',
type: 'boolean',
value: true,
description: 'Byte-compile installed Python source files',
)
17 changes: 0 additions & 17 deletions meson_post_install.py

This file was deleted.

0 comments on commit 361ac82

Please sign in to comment.