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

Eduard Krein eduard.krein at linutronix.de
Wed Apr 10 16:18:13 CEST 2024


Am Dienstag, dem 09.04.2024 um 15:59 +0200 schrieb Thomas Weißschuh:
> 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>

Reviewed-by: Eduard Krein <eduard.krein at linutronix.de>

For the whole series
> ---
> 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,

-- 
Eduard Krein
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 19; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/legal/data-protection.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br.,
HRB700 806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas
Gleixner, Tiffany Silva, Sean Fennelly, Jeffrey Schneiderman






More information about the elbe-devel mailing list