diff options
author | necoro <> | 2006-09-06 19:11:50 +0000 |
---|---|---|
committer | necoro <> | 2006-09-06 19:11:50 +0000 |
commit | c7993113d10ec8412cf60663d3afcbb9643fbb2a (patch) | |
tree | 31c48e6c66427a29013726e2f336664cf28c252c /geneticone/__init__.py | |
download | portato-c7993113d10ec8412cf60663d3afcbb9643fbb2a.tar.gz portato-c7993113d10ec8412cf60663d3afcbb9643fbb2a.tar.bz2 portato-c7993113d10ec8412cf60663d3afcbb9643fbb2a.zip |
Diffstat (limited to 'geneticone/__init__.py')
-rw-r--r-- | geneticone/__init__.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/geneticone/__init__.py b/geneticone/__init__.py new file mode 100644 index 0000000..b1ec682 --- /dev/null +++ b/geneticone/__init__.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +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 helper import * +from package import * |