例子:setup.py from distutils.core import setup setup ( name = 'Distutils' , version = '1.0' , description = 'Python Distribution Utilities' , author = 'Greg Ward' , author_email = 'gward@python.net' , url = 'http://www.python.org/sigs/distutils-sig/' , packages = [ 'distutils' , 'distutils.command' ], ) setup的参数: py_modules:指具体的.py文件 packages :py包
setup的写法
最新推荐文章于 2024-05-14 09:29:13 发布