15 lines
344 B
Python
15 lines
344 B
Python
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")
|