| # -*- coding: utf-8 -*- |
| ''' |
| Created on 2012-4-20 |
| |
| @author: cheng.tang |
| ''' |
| |
| from cx_Freeze import setup, Executable |
| from tcutils import disttools |
| from v2convert import VERSION |
| |
| |
| include_files = ['cvtcfg.ini', u'convert-example.json'] |
| |
| buildOptions = {"includes": [], |
| "include_files": include_files, |
| "create_shared_zip": False |
| } |
| |
| setup(name="Supwisdom Ykt V2 to V4", |
| version=VERSION, |
| description=u"一卡通历史数据迁移", |
| options={"build_exe": buildOptions}, |
| executables=[Executable('v2convert.py', |
| targetName="cvt2to4.exe", |
| appendScriptToExe=True, |
| appendScriptToLibrary=False)]) |
| |
| |
| disttools.make_dist('cvt2to4', VERSION) |