setuptools setup()

本文详细介绍了Setuptools在Python项目中的关键配置选项,包括name、version等基本信息,以及packages、scripts等高级设置,帮助开发者理解并正确使用这些参数。

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

参数描述
nameA string specifying the name of the package.
versionA string specifying the version number of the package.
descriptionA string describing the package in a single line.
long_descriptionA string providing a longer description of the package.
long_description_content_typeA string specifying the content type is used for the long_description (e.g. text/markdown)
authorA string specifying the author of the package.
author_emailA string specifying the email address of the package author.
maintainerA string specifying the name of the current maintainer
maintainer_emailA string specifying the email address of the current maintainer, if different from the author.
urlA string specifying the URL for the package homepage.
download_urlA string specifying the URL to download the package.
packagesA list of strings specifying the packages that setuptools will manipulate.
py_modulesA list of strings specifying the modules that setuptools will manipulate.
scripts指明脚本文件,自动放在path
ext_packag
ext_modules
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值