将package整理成如下形式
/example_pkg
/example_pkg
__init__.py
setup.py
LICENSE
README.md
编辑setup.py
注意每次更新要更新版本号。
生成distribution archives
python setup.py sdist bdist_wheel
上传distribution archives
twine upload dist/*
/example_pkg
/example_pkg
__init__.py
setup.py
LICENSE
README.md
注意每次更新要更新版本号。
python setup.py sdist bdist_wheel
twine upload dist/*