From 215a4c7a1a1782066d362ae5fa1f37ee76c77573 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 11 Feb 2018 11:49:26 +0100 Subject: bin: Reuse setuptools_main() --- bin/gemato | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/gemato b/bin/gemato index 93eda61..bdb8604 100755 --- a/bin/gemato +++ b/bin/gemato @@ -1,17 +1,15 @@ #!/usr/bin/env python # vim:fileencoding=utf-8 -# (c) 2017 Michał Górny +# (c) 2017-2018 Michał Górny # Licensed under the terms of 2-clause BSD license -import logging import os.path import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) -from gemato.cli import main +from gemato.cli import setuptools_main if __name__ == '__main__': - logging.getLogger().setLevel(logging.INFO) - sys.exit(main(sys.argv)) + setuptools_main() -- cgit v1.2.3