home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / pyshared / apt / __init__.py next >
Encoding:
Python Source  |  2009-03-30  |  460 b   |  21 lines

  1. # import the core of apt_pkg
  2. import apt_pkg
  3. import sys
  4. import os
  5.  
  6. # import some fancy classes
  7. from apt.package import Package
  8. from apt.cache import Cache
  9. from apt.progress import (
  10.     OpProgress, FetchProgress, InstallProgress, CdromProgress)
  11. from apt.cdrom import Cdrom
  12. from apt_pkg import SizeToStr, TimeToStr, VersionCompare
  13.  
  14. # init the package system
  15. apt_pkg.init()
  16.  
  17.  
  18. #import warnings
  19. #warnings.warn("apt API not stable yet", FutureWarning)
  20. #del warnings
  21.