1. 打包为whl python setup.py sdist bdist_wheel 2. 上传 twine upload --repository-url https://upload.pypi.org/legacy/ dist/*