# Path: COMTool/version.py
# class Version:
#     def __init__(self, major=major, minor=minor, dev=dev, name="", desc=""):
#     def dump_dict(self):
#     def load_dict(self, obj):
#     def int(self):
#     def __str__(self):
# 
# Path: COMTool/i18n.py
# def _(text):
# def set_locale(locale_in):
# def get_languages():
# def extract(src_path, config_file_path, out_path):
# def init(template_path, out_dir, locale, domain="messages"):
# def update(template_path, out_dir, locale, domain="messages"):
# def compile(translate_dir, locale, domain="messages"):
# def main(cmd):


import os, sys, shutil
import zipfile
import shutil
import re
from COMTool import version, i18n
sys.path.insert(1,"./COMTool/")


if sys.version_info < (3, 8):
    print("only support python >= 3.8, but now is {}".format(sys.version_info))
    sys.exit(1)


linux_out = "comtool_ubuntu_v{}.tar.xz".format(version.__version__)

# Path: COMTool/version.py
# class Version:
#     def __init__(self, major=major, minor=minor, dev=dev, name="", desc=""):
#     def dump_dict(self):
#     def load_dict(self, obj):
#     def int(self):
#     def __str__(self):
# 
# Path: COMTool/i18n.py
# def _(text):
# def set_locale(locale_in):
# def get_languages():
# def extract(src_path, config_file_path, out_path):
# def init(template_path, out_dir, locale, domain="messages"):
# def update(template_path, out_dir, locale, domain="messages"):
# def compile(translate_dir, locale, domain="messages"):
# def main(cmd):


# Path: pack.py
import os, sys, shutil
import zipfile
import shutil
import re
from COMTool import version, i18n

sys.path.insert(1,"./COMTool/")


if sys.version_info < (3, 8):
    print("only support python >= 3.8, but now is {}".format(sys.version_info))
    sys.exit(1)


linux_out = "comtool_ubuntu_v{}.tar.xz".format(version.__version__)

macos_out = "comtool_macos_v{}.dmg".format(version.__version__)