PHP 8.2.30
Preview: __init__.py Size: 278 B
/opt/cloudlinux/venv/lib64/python3.11/site-packages/virtualenv/activation/bash/__init__.py

from pathlib import Path

from ..via_template import ViaTemplateActivator


class BashActivator(ViaTemplateActivator):
    def templates(self):
        yield "activate.sh"

    def as_name(self, template):
        return Path(template).stem


__all__ = [
    "BashActivator",
]

Directory Contents

Dirs: 1 × Files: 2

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
2.13 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
278 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download

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