From 70ed1dcf05aa9cd7e3c03afd47625dc8a75ab556 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 25 Feb 2024 20:11:51 +0100 Subject: Modernize packaging with pyproject.toml and setuptool_scm. --- scripts/openlibrary2lesana | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/openlibrary2lesana') diff --git a/scripts/openlibrary2lesana b/scripts/openlibrary2lesana index 8394a3d..c3d38e3 100755 --- a/scripts/openlibrary2lesana +++ b/scripts/openlibrary2lesana @@ -101,5 +101,9 @@ class OL2L(lesana.command.Command): print(saved_entry) -if __name__ == '__main__': +def main(): OL2L().main() + + +if __name__ == '__main__': + main() -- cgit v1.2.3