Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/common.py
blob: 6f676a6be1bbea9acd368a5a69be039908739312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os
import sys

base_path = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))

sys.path.append(base_path)

from devbot import system
from devbot import config

def setup():
    config.set_config_dir(os.path.join(base_path, "scripts"))
    config.set_install_dir(os.path.join(base_path, "install"))
    config.set_source_dir(os.path.join(base_path, "source"))
    config.set_build_dir(os.path.join(base_path, "build"))