您的位置:首页 > 编程语言 > Python开发

python setuptools工具打包

2014-12-18 15:47 453 查看
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'
)


  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: