https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
| 参数 | 描述 |
|---|---|
| name | A string specifying the name of the package. |
| version | A string specifying the version number of the package. |
| description | A string describing the package in a single line. |
| long_description | A string providing a longer description of the package. |
| long_description_content_type | A string specifying the content type is used for the long_description (e.g. text/markdown) |
| author | A string specifying the author of the package. |
| author_email | A string specifying the email address of the package author. |
| maintainer | A string specifying the name of the current maintainer |
| maintainer_email | A string specifying the email address of the current maintainer, if different from the author. |
| url | A string specifying the URL for the package homepage. |
| download_url | A string specifying the URL to download the package. |
| packages | A list of strings specifying the packages that setuptools will manipulate. |
| py_modules | A list of strings specifying the modules that setuptools will manipulate. |
| scripts | 指明脚本文件,自动放在path中 |
| ext_packag | |
| ext_modules |
本文详细介绍了Setuptools在Python项目中的关键配置选项,包括name、version等基本信息,以及packages、scripts等高级设置,帮助开发者理解并正确使用这些参数。

被折叠的 条评论
为什么被折叠?



