仅使用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"