标签:自我心的 python 打包 非官方安装包 cx_freeze
有个好网站http://www.lfd.uci.edu/~gohlke/pythonlibs/ , 这个网站可以下载许多非官方的python库的安装包。importsysfromcx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need# fine tuning.buildOptions = dict(packages = [], excludes = [], include_files={"DcmStatistics.xsd" , "dcm2xml.exe" , "readme.txt" , "DcmStatisticsResult.xslt" })
executable ="DcmFileCompareTool.py"base ='Console'targetName ="dcmAnalyzer.exe"
executables = [Executable(executable, base=base, targetName=targetName)]
setup(name='dcmanalyzer',version ='1.0',description ='convert dcm file to xml, parse xml and create statistics result, arrange dcm file to folders of different companies.',options = dict(build_exe = buildOptions),executables = executables)
python setup.py buildpause
标签:自我心的 python 打包 非官方安装包 cx_freeze
原文地址:http://blog.csdn.net/muzizongheng/article/details/27325887