Closed LeiShi1313 closed 2 years ago
torcp
tests
setup.cfg
pyproject.toml
pip install .
python setup.py sdist
Github Action 需要C佬自己启用下,同时,需要在Settings > Secrets > Actions设置PYPI_USERNAME和PYPI_PASSWORD这两个变量,pypi的用户名密码如果没有的话需要注册下,很容易
Settings > Secrets > Actions
PYPI_USERNAME
PYPI_PASSWORD
torcp
文件夹下,将test移到了tests
文件夹下,更符合python package的最佳实践setup.cfg
和pyproject.toml
来构建python module,现在可以通过pip install .
来安装torcp,或者通过python setup.py sdist
来打包可发布的包