請注意,內容的時效性。畢竟文檔更新很快
python
先註冊一個pypi的帳號
連接:https://pypi.orgurl
簡單的setup文件以下就行code
from distutils.core import setup setup( name = "projectname", # author = "xxxx", version = "1.0.0", author_email = "xxxx@163.com", url = "http://www.xxx.com" )
[distutils] index-servers = pypi [pypi] repository:https://test.pypi.org/legacy/ username:pypiusername password:pypipassword
先作一些檢查
注意有沒有錯誤和警告server
直接打包發佈blog
https://packaging.python.org/tutorials/packaging-projects/ip
完成
文檔