summaryrefslogtreecommitdiff
path: root/apt/__init__.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-05-11 14:13:16 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-05-11 14:13:16 +0000
commite78e4b71fc600cf251eead62cec6a7c07165e38b (patch)
tree483321a0752831370358ad47963c4fbff0034622 /apt/__init__.py
parentf637fdcce22f31ed51a12b860ada598286180bdb (diff)
downloadpython-apt-e78e4b71fc600cf251eead62cec6a7c07165e38b.tar.gz
* __init__ added for the apt module, IsInstalled() added
Diffstat (limited to 'apt/__init__.py')
-rw-r--r--apt/__init__.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/apt/__init__.py b/apt/__init__.py
new file mode 100644
index 00000000..f60b297b
--- /dev/null
+++ b/apt/__init__.py
@@ -0,0 +1,13 @@
+# dummy file for now
+
+import apt_pkg
+
+# import some fancy classes
+from apt.package import Package
+from apt.cache import Cache
+from apt.progress import OpProgress, FetchProgress, InstallProgress, CdromProgress
+from apt_pkg import SizeToStr, VersionCompare
+
+# init the package system
+apt_pkg.init()
+