import os
import sys

import setuptools

if sys.argv[-1] == "publish":
    os.system("python setup.py sdist bdist_wheel")
    os.system("twine upload dist/*")
    sys.exit()

setuptools.setup(
    entry_points={
        "console_scripts": [
            "GTL = GTL.cli:cli",
        ]
    }
)
