PHP 8.3.31
Preview: preload.py Size: 450 B
/proc/self/root/opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/tests/config/downloads/preload.py

"""This file can be used to preload files needed for testing.

For example you can use::

    cd setuptools/tests/config
    python -m downloads.preload setupcfg_examples.txt

to make sure the `setup.cfg` examples are downloaded before starting the tests.
"""

import sys
from pathlib import Path

from . import retrieve_file, urls_from_file

if __name__ == "__main__":
    urls = urls_from_file(Path(sys.argv[1]))
    list(map(retrieve_file, urls))

Directory Contents

Dirs: 1 × Files: 2

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-06 07:30:35
Edit Download
450 B lrw-r--r-- 2026-01-20 13:01:47
Edit Download
1.78 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).