Skip to content

Commit

Permalink
bin: Reuse setuptools_main()
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Feb 11, 2018
1 parent 8d50659 commit 215a4c7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions bin/gemato
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit 215a4c7

Please sign in to comment.