Move python modules to /opt/opengnsys-modules

fixes2
Vadim vtroshchinskiy 2024-11-26 10:58:18 +01:00
parent 99038db23a
commit 315f611f9e
7 changed files with 11 additions and 12 deletions

View File

@ -10,7 +10,7 @@
#
import os
import sys
sys.path.insert(0, "/opt/opengnsys/python3/dist-packages")
sys.path.insert(0, "/opt/opengnsys-modules/python3/dist-packages")
import shutil

View File

@ -3,7 +3,7 @@
import os
import sys
sys.path.insert(0, "/opt/opengnsys/python3/dist-packages")
sys.path.insert(0, "/opt/opengnsys-modules/python3/dist-packages")
import shutil

View File

@ -1,5 +1,6 @@
opengnsys-libarchive-c (5.1) UNRELEASED; urgency=medium
opengnsys-libarchive-c (5.1-1) UNRELEASED; urgency=medium
* Initial release. (Closes: #XXXXXX)
Move to /opt/opengnsys-modules
-- root <opengnsys@opengnsys.com> Mon, 11 Nov 2024 17:11:16 +0000
-- Vadim Troshchinskiy <vtroshchinskiy@qindel.com> Tue, 26 Nov 2024 09:41:43 +0000

View File

@ -6,7 +6,7 @@ export PYBUILD_BEFORE_TEST = cp -av README.rst {build_dir}
export PYBUILD_TEST_ARGS = -vv -s
export PYBUILD_AFTER_TEST = rm -v {build_dir}/README.rst
# ./usr/lib/python3/dist-packages/libarchive/
export PYBUILD_INSTALL_ARGS=--install-lib=/opt/opengnsys/python3/dist-packages/
export PYBUILD_INSTALL_ARGS=--install-lib=/opt/opengnsys-modules/python3/dist-packages/
%:
dh $@ --with python3 --buildsystem=pybuild

View File

@ -1,5 +1,5 @@
opengnsys-pyblkid (0.3) UNRELEASED; urgency=medium
opengnsys-pyblkid (0.3-1) UNRELEASED; urgency=medium
* Initial release.
Move to /opt/opengnsys-modules
-- root <opengnsys@opengnsys.es> Tue, 12 Nov 2024 14:18:39 +0000
-- Vadim Troshchinskiy <vtroshchinskiy@qindel.com> Tue, 26 Nov 2024 09:42:49 +0000

View File

@ -1,2 +0,0 @@
opengnsys-pyblkid_0.3_all.deb python optional
opengnsys-pyblkid_0.3_amd64.buildinfo python optional

View File

@ -6,7 +6,7 @@ export PYBUILD_NAME = libarchive-c
export PYBUILD_TEST_ARGS = -vv -s
#export PYBUILD_AFTER_TEST = rm -v {build_dir}/README.rst
# ./usr/lib/python3/dist-packages/libarchive/
export PYBUILD_INSTALL_ARGS=--install-lib=/opt/opengnsys/python3/dist-packages/
export PYBUILD_INSTALL_ARGS=--install-lib=/opt/opengnsys-modules/python3/dist-packages/
%:
dh $@ --with python3 --buildsystem=pybuild