-
pypi.fallback - Configuration Options — pypicloud 1.0.8 documentation
-
Argument: {
redirect
,cache
,none
}, optional -
This option defines what the behavior is when a REQUESTED PACKAGE IS NOT FOUND in the database. (default
redirect
) -
redirect
- Return a 302 to the package at thefallback_base_url
.redirect
會回 302 轉到fallback_base_url
的位置 (預設是https://pypi.python.org
),也難怪之前用pip install -i your_pypicloud_server
就可以裝到 PyPI 上的套件,不必採用--extra-index-url
,還滿方便的。 -
cache
- Download the package fromfallback_base_url
, store it in the backend, and serve it. User must havecache_update
permissions. -
none
- Return a 404
-
-
Fallbacks — pypicloud 1.0.11 documentation 好複雜的 matrix! #ril
文件:
手冊: