HEX
Server: LiteSpeed
System: Linux sr2.wonderwebhub.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User: foodnest (2814)
PHP: 8.3.31
Disabled: exec, shell_exec, system, passthru, proc_open, popen
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/virtualenv/activation/bash/__init__.py
from __future__ import absolute_import, unicode_literals

from virtualenv.util.path import Path

from ..via_template import ViaTemplateActivator


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

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