packaging: Use patched entry point and link it to /usr/bin

By renaming the entry point, which had the same name as the module,
both can now be installed in the same directory. The entry point can
then be created in /usr/bin as a link with the original name
'revpicommander'.

Signed-off-by: Sven Sager <akira@narux.de>
This commit is contained in:
2023-09-18 07:03:35 +02:00
parent 239273ae16
commit 81f5b981a6
3 changed files with 2 additions and 2 deletions

2
debian/rules vendored
View File

@@ -3,7 +3,7 @@
export PYBUILD_NAME=revpicommander
# Install this module as an application an not into the python standard library path
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/revpicommander/ --install-scripts=/usr/share/revpicommander/bin/
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/revpicommander/ --install-scripts=/usr/share/revpicommander/
%:
dh $@ --with python3 --buildsystem=pybuild