mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-11-04 21:16:52 +00:00
build: remove use of deprecated python3 module
This can use the non-deprecated python module now that 0.50 is used for the project.
This commit is contained in:
parent
39e98e7994
commit
22b322c6ac
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue