summaryrefslogtreecommitdiff
path: root/src/virtualenv/activation/cshell/__init__.py
blob: b25c602a5891927d0c14e45991a8bf53e082ade2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from __future__ import absolute_import, unicode_literals

from virtualenv.util.path import Path

from ..via_template import ViaTemplateActivator


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

    def templates(self):
        yield Path("activate.csh")