diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-11 11:49:26 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-11 11:49:26 +0100 |
commit | 215a4c7a1a1782066d362ae5fa1f37ee76c77573 (patch) | |
tree | 4daa1c56c75f3b9abab51e01bdd7b3b5bcafe8ad /bin | |
parent | 8d50659c8e86a59e9d9965a495030859c9a588de (diff) | |
download | gemato-215a4c7a1a1782066d362ae5fa1f37ee76c77573.tar.gz |
bin: Reuse setuptools_main()
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gemato | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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() |