仅使用poetry管理依赖,使用阿里云的源

仅使用poetry管理依赖,使用阿里云的源

pyproject.toml

[tool.poetry]
name = "proj_name"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
package-mode = false

[tool.poetry.dependencies]
python = "^3.9"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"


[[tool.poetry.source]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple"
priority = "primary"
posted @ 2024-08-21 00:27  spacelit  阅读(60)  评论(0编辑  收藏  举报