简体   繁体   English

Devpi服务器。 重定向到其他服务器

[英]Devpi-server. redirect to additional server

How and where I can define addional redirect server for Devpi-server ? 如何以及在哪里可以为Devpi-server定义其他重定向服务器? Primary is pypi.python.org by default. 默认情况下,主要的是pypi.python.org。 I need additional. 我需要其他。 Thanks. 谢谢。

With devpi version 3.0 you can create "mirror" indexes: http://doc.devpi.net/latest/userman/devpi_indices.html#mirror-index 使用devpi 3.0版,您可以创建“镜像”索引: http ://doc.devpi.net/latest/userman/devpi_indices.html#mirror-index

So I guess you could create one index that mirror PyPI and another that mirrors the other server. 因此,我想您可以创建一个反映PyPI的索引,另一个创建反映另一台服务器的索引。 And then create a index that inherits both of those indexes. 然后创建一个继承这两个索引的索引。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM