blob: ed16c2a069585017d6ad43f661ef3381977058d7 [file] [log] [blame]
Cheng Tangeac10852013-06-25 16:43:32 +08001# -*- coding: utf-8 -*-
2'''
3Created on 2012-4-20
4
5@author: cheng.tang
6'''
7
8from cx_Freeze import setup, Executable
9from tcutils import disttools
10from v2convert import VERSION
11
12
13include_files = ['cvtcfg.ini', u'convert-example.json']
14
15buildOptions = {"includes": [],
16 "include_files": include_files,
17 "create_shared_zip": False
18 }
19
20setup(name="Supwisdom Ykt V2 to V4",
21 version=VERSION,
22 description=u"一卡通历史数据迁移",
23 options={"build_exe": buildOptions},
24 executables=[Executable('v2convert.py',
25 targetName="cvt2to4.exe",
26 appendScriptToExe=True,
27 appendScriptToLibrary=False)])
28
29
30disttools.make_dist('cvt2to4', VERSION)