mirror of
https://github.com/naruxde/revpicommander.git
synced 2026-10-01 00:14:29 +02: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:
1 parent
65280435a7
commit
239273ae16
2 files changed
+25
No files matched your search
+24
@@ -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',
|
||||
],
|
||||
},
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
0001-Change-entry-point-name-to-differ-from-the-module-na.patch
|
||||
Reference in new issue
Block a user