summaryrefslogtreecommitdiff
path: root/geneticone/backend/__init__.py
blob: 4f002583b066e78e26f70b554b874b5657969619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import sys

# insert the gentoolkit-location into syspath
sys.path.insert(0, "/usr/lib/gentoolkit/pym")

# import gentoolkit and portage
import gentoolkit
import portage

# this is set to "var/lib/portage/world" by default - so we add the leading /
portage.WORLD_FILE = "/"+portage.WORLD_FILE

# portage tree vars
porttree = gentoolkit.porttree
vartree = gentoolkit.vartree

# import our packages
from exceptions import *
from portage_helper import *
from package import *