$61 GRAYBYTE WORDPRESS FILE MANAGER $23

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python37/lib/python3.7/site-packages/virtualenv/activation/batch/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/virtualenv/activation/batch//__init__.py
from __future__ import absolute_import, unicode_literals

import os

from virtualenv.util.path import Path

from ..via_template import ViaTemplateActivator


class BatchActivator(ViaTemplateActivator):
    @classmethod
    def supports(cls, interpreter):
        return interpreter.os == "nt"

    def templates(self):
        yield Path("activate.bat")
        yield Path("deactivate.bat")
        yield Path("pydoc.bat")

    def instantiate_template(self, replacements, template, creator):
        # ensure the text has all newlines as \r\n - required by batch
        base = super(BatchActivator, self).instantiate_template(replacements, template, creator)
        return base.replace(os.linesep, "\n").replace("\n", os.linesep)


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.53 PM
root / root
0755
__pycache__
--
3 Mar 2024 10.53 PM
root / root
0755
__init__.py
0.716 KB
2 Jan 2022 3.54 PM
root / root
0644
activate.bat
0.995 KB
2 Jan 2022 3.54 PM
root / root
0644
deactivate.bat
0.498 KB
2 Jan 2022 3.54 PM
root / root
0644
pydoc.bat
0.023 KB
2 Jan 2022 3.54 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF