You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Enso-Bot/venv/Lib/site-packages/virtualenv/activation/xonsh/__init__.py

15 lines
355 B
Python

from __future__ import absolute_import, unicode_literals
from virtualenv.util.path import Path
from ..via_template import ViaTemplateActivator
class XonshActivator(ViaTemplateActivator):
def templates(self):
yield Path("activate.xsh")
@classmethod
def supports(cls, interpreter):
return interpreter.version_info >= (3, 5)