# Path: settings.py
# def _get_publish():


import os
import time
import glob
import shutil
import subprocess
import sys
import stat
import zipfile
import json
    import gui.uiconfig as config
from datetime import datetime
from settings import __version__
from cx_Freeze import setup, Executable
        stdout=subprocess.PIPE,
        shell=True,
    )
    branch = p.stdout.readlines()[0][2:-1]
    return branch


def getCurrentTime():
    buildtime = datetime.today().strftime("%y%m%d")
    return buildtime


def getBuildInfo():
    return dict(
        sw_name="AppClient",
        sw_version=__version__,
        lastCommitId=gitLastCommitID(),
        branch=getCurrentBranchName(),
        buildtime=getCurrentTime(),
    )


if __name__ == '__main__':

    for key in ['build']:
        path = os.sep.join([os.getcwd(), key])
        delete_file_folder(path)

    # 从config中获取软件的基本信息
    sw_name = config.__softwarename__

# Path: settings.py
# def _get_publish():


# Path: setupwin.py
import os
import time
import glob
import shutil
import subprocess
import sys
import stat
import zipfile
import json
    import gui.uiconfig as config
from datetime import datetime
from settings import __version__
from cx_Freeze import setup, Executable

        stdout=subprocess.PIPE,
        shell=True,
    )
    branch = p.stdout.readlines()[0][2:-1]
    return branch


def getCurrentTime():
    buildtime = datetime.today().strftime("%y%m%d")
    return buildtime


def getBuildInfo():
    return dict(
        sw_name="AppClient",
        sw_version=__version__,
        lastCommitId=gitLastCommitID(),
        branch=getCurrentBranchName(),
        buildtime=getCurrentTime(),
    )


if __name__ == '__main__':

    for key in ['build']:
        path = os.sep.join([os.getcwd(), key])
        delete_file_folder(path)

    # 从config中获取软件的基本信息
    sw_name = config.__softwarename__

    sw_version = __version__