python setuptools工具打包

http://blog.csdn.net/five3/article/details/7847551
http://blog.csdn.net/reyoung1110/article/details/7594171

打包的源码结构
python setuptools工具打包

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='[email protected]',

      license='LGPL',

      install_requires=["docutils>=0.12"],

      description="getui",

      #entry_points ={

      #  'console_scripts':[

      #      'SlideGen=slidegen.SlideGen:Main'

      #  ]

      #},

      keywords ='getui',

      url='http://[email protected]:7990/scm/vnd/getui.git'

)

  

你可能感兴趣的:(python)