[elbe-devel] [PATCH 0/2] elbepack: move entrypoint into package

Thomas Weißschuh thomas.weissschuh at linutronix.de
Tue Apr 9 15:59:07 CEST 2024


This makes the entrypoint compatible with zipapp, console_scripts,
python -m, etc.
It also makes it easier to package elbe.

For backwards compatibility provide a stub file.
Elbe can now be used via "./elbe", "python -melbepack" or the generated
console script.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (2):
      debian: package egg-info
      elbepack: move entrypoint into package

 conftest.py                     |  8 --------
 debian/python3-elbe-bin.install |  4 ++++
 elbe                            | 40 ++-----------------------------------
 elbepack/__main__.py            |  7 +++++++
 elbepack/directories.py         |  4 +---
 elbepack/main.py                | 44 +++++++++++++++++++++++++++++++++++++++++
 setup.py                        |  6 +++++-
 7 files changed, 63 insertions(+), 50 deletions(-)
---
base-commit: 41747ffae99073c8ae1380c202c2eef740bf570a
change-id: 20240408-entrypoint-c70e6f0b2ba5

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh at linutronix.de>



More information about the elbe-devel mailing list