Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Replace Meson with PIP
#1
I have a Flatpak which uses Meson to install the main Python program. There is a meson.build file which finds appropriate directory names and does things like this:
bindir = get_option(‘bindir’)
datadir = get_option(‘datadir’)
pkgdatadir = join_paths(get_option(‘prefix’), get_option(‘datadir’), ‘myapp’)
conf = configuration_data()
conf.set(‘pkgdatadir’, pkgdatadir)
install_data(file, install_dir: pkgdatadir)
All this appears to be to be doing is finding out appropriate directories, then copying files into them. It also does install_data() whatever that is. Is there anything special about any of this or could it be done by using PIP statements within the Flatpak - thus eliminating the complication of another technology and an extra file? This isn't an urgent problem as the current method works, I'm just looking for opinions on whether it could be recommended as a way of keeping things simple.
Reply


Messages In This Thread
Replace Meson with PIP - by ChrisOfBristol - Sep-23-2022, 06:28 PM
RE: Replace Meson with PIP - by Larz60+ - Sep-23-2022, 09:35 PM
RE: Replace Meson with PIP - by ChrisOfBristol - Sep-24-2022, 05:45 PM
RE: Replace Meson with PIP - by snippsat - Sep-24-2022, 02:38 PM
RE: Replace Meson with PIP - by ChrisOfBristol - Sep-24-2022, 05:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Meson - to use or not to use ChrisOfBristol 1 1,486 Oct-14-2021, 01:51 AM
Last Post: Larz60+
  Search & Replace - Newlines Added After Replace dj99 3 3,475 Jul-22-2018, 01:42 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020