mirror of
https://github.com/naruxde/revpicommander.git
synced 2025-11-08 16:43:53 +01:00
packaging(patch): Change entry point name in setup.py
Change entry point name to differ from the module name. In the package, the module and its scripts are installed in the same directory. This is done via PYBUILD_INSTALL_ARGS and --install-lib, --install-scripts. Module name and script name must not be the same.
This commit is contained in:
24
debian/patches/0001-Change-entry-point-name-to-differ-from-the-module-na.patch
vendored
Normal file
24
debian/patches/0001-Change-entry-point-name-to-differ-from-the-module-na.patch
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
From: Sven Sager <akira@narux.de>
|
||||||
|
Date: Mon, 18 Sep 2023 06:49:44 +0200
|
||||||
|
Subject: Change entry point name to differ from the module name
|
||||||
|
|
||||||
|
In the package, the module and its scripts are installed in the same
|
||||||
|
directory. This is done via PYBUILD_INSTALL_ARGS and --install-lib,
|
||||||
|
--install-scripts. Module name and script name must not be the same.
|
||||||
|
---
|
||||||
|
setup.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 227874b..8b2acab 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -25,7 +25,7 @@ setup(
|
||||||
|
],
|
||||||
|
entry_points={
|
||||||
|
'gui_scripts': [
|
||||||
|
- 'revpicommander = revpicommander.revpicommander:main',
|
||||||
|
+ 'revpicommander_entry_point = revpicommander.revpicommander:main',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
0001-Change-entry-point-name-to-differ-from-the-module-na.patch
|
||||||
Reference in New Issue
Block a user