Configuration
All configuration options should be made under the [main] section.
Required
The following are essential to operation, and do NOT provide defaults.
- pypi_web_path
- Path to the PyPI web directory; in the PyPI directory hierarchy, this
is typically the directory called web.
Optional
- allowed_extensions
- Comma separated list of allowed extensions. If this is not set, all
extensions will be permitted. Defaults to None.
- always_show_external_links
- If True, will always show external links, even if they would
normally be filtered out. Defaults to False.
- always_show_home_pages
- If True, will always show home pages, even if they would
normally be filtered out. Defaults to False.
- pypi_packages_path
- Path to the PyPI packages directory. Defaults to
pypi_web_path/packages.
- pypi_simple_path
- Path to the PyPI simple directory. Defaults to
pypi_web_path/simple.
- whitelisted_packages
- Comma separated list of packages that will not be filtered in any way,
shape or form. Defaults to None.
Logging
All logging config is handled using the logging module. The full
documentation of how to configured a logging file based config can be
referenced from the official documentation.