* updated packaging (23.2 -> 24.1)
[t2sde.git] / package / python / python-installer / python-installer.conf
bloba808a9eac5c1823fc143b5ef6172dd20c873be42
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/python-installer/python-installer.conf
3 # Copyright (C) 2024 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 runmake=0
13 runpysetup=0
14 runpipinstall=0
16 var_append zipopt ' ' '-d python-installer'
18 hook_add inmake 5 pyinstall_inmake
20 pyinstall_inmake() {
21         local sitedir=$root$libdir/python/site-packages
22         mkdir -p $sitedir
23         cp -a installer* $sitedir
24         python3 -m compileall $sitedir