# Path: COMTool/parameters.py
# class Strings:
# class Parameters:
#     def __init__(self, locale):
# def get_config_path(configFileName):
#     def save(self, path):
#     def load(self, path):
#     def __str__(self) -> str:
# 
# Path: COMTool/helpAbout.py
# def strAbout():


from cx_Freeze import setup,Executable
from codecs import open
from os import path
from COMTool import parameters,helpAbout
import sys
import traceback
import msilib

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
    long_description = f.read()

# Dependencies are automatically detected, but it might need fine tuning.

#中文需要显式用gbk方式编码
product_name = parameters.appName.encode('gbk')
unproduct_name = (parameters.strUninstallApp).encode('gbk')

# Path: COMTool/parameters.py
# class Strings:
# class Parameters:
#     def __init__(self, locale):
# def get_config_path(configFileName):
#     def save(self, path):
#     def load(self, path):
#     def __str__(self) -> str:
# 
# Path: COMTool/helpAbout.py
# def strAbout():


# Path: cxsetup.py
from cx_Freeze import setup,Executable
from codecs import open
from os import path
from COMTool import parameters,helpAbout
import sys
import traceback
import msilib


here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
    long_description = f.read()

# Dependencies are automatically detected, but it might need fine tuning.

#中文需要显式用gbk方式编码
product_name = parameters.appName.encode('gbk')
unproduct_name = (parameters.strUninstallApp).encode('gbk')

product_desc = (parameters.appName+" V"+str(helpAbout.versionMajor)+"."+str(helpAbout.versionMinor)).encode("gbk")