Rebuild with python 3.14

This commit is contained in:
2026-05-06 13:41:02 +03:00
parent e4a0faeb3b
commit f305db16e7
2 changed files with 12 additions and 6 deletions
+4 -3
View File
@@ -5,13 +5,14 @@
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
python3 setup.py build
python -m build --wheel --no-isolation .
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
python3 setup.py install --root="$BPM_OUTPUT" --prefix=/usr
python3 -m installer --destdir="$BPM_OUTPUT" dist/*.whl
install -Dm644 LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/cython/LICENSE.txt
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/cython/LICENSE.txt
}