简体   繁体   English

Python script.py文件的url参数

[英]Python script.py file url parameter

I am very new to python and am learning to create python distributions. 我是python的新手,正在学习创建python发行版。 I have realized that setup.py file is an essential part of this process. 我已经意识到setup.py文件是此过程的重要组成部分。 I was wondering however what the value of the 'url:' field in the setup.py script was supposed to address? 但是我想知道setup.py脚本中“ url:”字段的值应该处理什么? As in what is the url that I provide to the 'url' field mean? 正如我提供给“ url”字段的url是什么意思? And what url should I provide if I want to upload my module to pypi. 如果我想将模块上传到pypi,应该提供什么网址。

I apologize for the simplicity of the question but this particular topic doesn't seem to be addressed much in the python documentation. 对于这个问题的简单性,我深表歉意,但是在python文档中似乎并未解决这个特定主题。

Any help would be much appreciated. 任何帮助将非常感激。

It's the url to the homepage of your project (for example, the github page, or some site you have set up for it). 它是项目首页(例如github页面或您为此设置的某些网站)的网址。

You can get a full list of the metadata in distutils documentation . 您可以在distutils文档中获取元数据的完整列表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM