File: meson_dist.py

package info (click to toggle)
virt-manager 1%3A5.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 20,200 kB
  • sloc: python: 44,538; xml: 28,397; makefile: 17; sh: 6
file content (13 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3

import os
import shutil
import sys

file_name = sys.argv[1]

meson_build_root = os.environ['MESON_BUILD_ROOT']
meson_dist_root = os.environ['MESON_DIST_ROOT']

shutil.copy(os.path.join(meson_build_root, file_name),
            os.path.join(meson_dist_root, file_name))