Skip to content

how to temp to switch the repo url when using pdm #2406

Answered by frostming
jiangxiaoqiang asked this question in Q&A
Discussion options

You must be logged in to vote

try this:

[tool.pdm.resolution]
respect-source-order = true

[[tool.pdm.source]]
name = "pypi"
url = "http://192.168.50.90:8092/repository/group-pypi/simple"
verify_ssl = true

[[tool.pdm.source]]
name = "fallback"
url = "http://pypi.org/simple"
verify_ssl = true

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jiangxiaoqiang
Comment options

@frostming
Comment options

Answer selected by jiangxiaoqiang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants