mirror of https://github.com/sgoudham/Enso-Bot.git
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.
14 lines
312 B
Python
14 lines
312 B
Python
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
|