summaryrefslogtreecommitdiff
path: root/geneticone/__init__.py
diff options
context:
space:
mode:
authornecoro <>2006-09-06 19:11:50 +0000
committernecoro <>2006-09-06 19:11:50 +0000
commitc7993113d10ec8412cf60663d3afcbb9643fbb2a (patch)
tree31c48e6c66427a29013726e2f336664cf28c252c /geneticone/__init__.py
downloadportato-c7993113d10ec8412cf60663d3afcbb9643fbb2a.tar.gz
portato-c7993113d10ec8412cf60663d3afcbb9643fbb2a.tar.bz2
portato-c7993113d10ec8412cf60663d3afcbb9643fbb2a.zip
Diffstat (limited to '')
-rw-r--r--geneticone/__init__.py20
-rw-r--r--geneticone/__init__.pycbin0 -> 454 bytes
2 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 *
diff --git a/geneticone/__init__.pyc b/geneticone/__init__.pyc
new file mode 100644
index 0000000..b0b671e
--- /dev/null
+++ b/geneticone/__init__.pyc
Binary files differ