python setuptools工具打包
http://blog.csdn.net/five3/article/details/7847551
http://blog.csdn.net/reyoung1110/article/details/7594171
打包的源码结构
setup.py代码
from setuptools import setup setup( name='getui', version='0.0.1', #包名及子包都要写上 packages=['google','google.protobuf','google.protobuf.compiler','google.protobuf.internal','protobuf','igetui','igetui.template'], author='xxxx', author_email='xxxx@126.com', license='LGPL', install_requires=["docutils>=0.12"], description="getui", #entry_points ={ # 'console_scripts':[ # 'SlideGen=slidegen.SlideGen:Main' # ] #}, keywords ='getui', url='http://linjiqin@58.23.5.118:7990/scm/vnd/getui.git' )