|
|
||
|---|---|---|
| build/lib/cluster | ||
| cmd | ||
| src | ||
| .gitignore | ||
| .python-version | ||
| .runtime.env | ||
| README.md | ||
| pyproject.toml | ||
| pyproject_comfyui.toml | ||
| uv.lock | ||
README.md
Modal
部署
modal deploy -m cluster.app
本地验证fastapi部署
uvicorn BowongModalFunctions.api:web_app --host 0.0.0.0 --port 8080
Pip
构建
确保当前路径在bowong_modal_functions/pyproject.toml同级下运行以下命令
uv build
推送到coding私有制品库
依据制品库 创建本地使用的.pypirc配置文件 其中包含访问密钥,严禁提交到代码库
py -m twine upload --config-file=.pypirc --repository=coding-pypi dist/*
安装
uv pip install bowong-modal-functions --index-url=https://<用户名>:<密钥>@g-ldyi2063-pypi.pkg.coding.net/dev/packages/simple