http://blog.csdn.net/five3/article/details/7847551
http://blog.csdn.net/reyoung1110/article/details/7594171
打包的源码结构
setup.py代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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'
,
)
|