Skip to content

Commit

Permalink
build: remove use of deprecated python3 module
Browse files Browse the repository at this point in the history
This can use the non-deprecated python module now that 0.50
is used for the project.
  • Loading branch information
chergert committed Feb 4, 2022
1 parent 39e98e7 commit 22b322c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libgitg-ext/meson.build
Expand Up @@ -124,10 +124,11 @@ custom_target(

enable_python = get_option('python')
if enable_python
python = import('python3')
python = import('python')
purelib_path = python.find_installation().get_install_dir()

install_data(
'GitgExt.py',
install_dir: join_paths(python.sysconfig_path('purelib'), 'gi', 'overrides'),
install_dir: join_paths(purelib_path, 'gi', 'overrides'),
)
endif

0 comments on commit 22b322c

Please sign in to comment.