File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,17 @@ You can set these environment variables to configure the server:
56
56
57
57
* ` PYPI_BROWSER_PYPI_URL ` : URL for the PyPI server to use (defaults to
58
58
` https://pypi.org ` )
59
+
60
+ If your registry supports the pypi.org-compatible JSON API (e.g.
61
+ ` {registry}/pypi/{package}/json ` ), specify your base registry URL without
62
+ appending ` /simple ` (e.g. ` https://my-registry ` ).
63
+
64
+ If your registry only supports the traditional HTML "simple" index, specify
65
+ the registry URL with ` /simple ` at the end (e.g.
66
+ ` https://my-registry/simple ` ).
67
+
68
+ Note that the [ PEP691] [ pep691 ] JSON-based "simple" API is not yet supported.
69
+
59
70
* ` PYPI_BROWSER_PACKAGE_CACHE_PATH ` : Filesystem path to use for caching
60
71
downloaded files. This will grow forever (the app does not clean it up) so
61
72
you may want to use ` tmpreaper ` or similar to manage its size.
@@ -77,3 +88,5 @@ $ make start-dev
77
88
```
78
89
79
90
to run a copy of the application locally with hot reloading enabled.
91
+
92
+ [ pep691 ] : https://peps.python.org/pep-0691/
You can’t perform that action at this time.
0 commit comments