aboutsummaryrefslogtreecommitdiff
path: root/bot/_bs/default_tasks.py
blob: b17aefa14f7ad605854a3d261c56be3d58c64901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import sys
from subprocess import call

from .load import load
from .systemd import install_systemd


def install_requirements():
    call([sys.executable, '-m', 'pip', '-r', 'requirements.txt'])


def run_bot():
    load('bot').main()


__all__ = ['run_bot', 'install_systemd', 'install_requirements']