summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2007-08-28 10:14:02 +0200
committerMichael Vogt <egon@bottom>2007-08-28 10:14:02 +0200
commitbe3ddb25ea0baa259f20936f1d7a62cafa019b99 (patch)
tree10bf95738b6ae2050a6d95da26dacd1dab73f8a0 /setup.py
parent3c2d0313a45668770e7cb2993dc092fb4e711bb7 (diff)
parentddf91759e3fabee1e0d61372247c4256758c387c (diff)
downloadpython-apt-be3ddb25ea0baa259f20936f1d7a62cafa019b99.tar.gz
* apt/debfile.py:
- added wrapper around apt_inst.debExtract() - support dictionary like access * python/apt_instmodule.cc: - added arCheckMember() * aptsources/distro.py: - throw NoDistroTemplateException if not distribution template can be found * NMU * Fix version to not use CPU and OS since it's not available on APT anymore (closes: #435653, #435674) * apt/package.py: - added Record class that can be accessed like a dictionary and return it in candidateRecord and installedRecord (thanks to Alexander Sack for discussing this with me) * doc/examples/records.py: - added example how to use the new Records class * apt/cache.py: - throw FetchCancelleException, FetchFailedException, LockFailedException exceptions when something goes wrong * aptsources/distro.py: - generalized some code, bringing it into the Distribution class, and wrote some missing methods for the DebianDistribution one (thanks to Gustavo Noronha Silva) * debian/control: - updated for python-distutils-extra (>= 1.9.0) * debian/python-apt.install: - fix i18n files * python/indexfile.cc: - increase str buffer in PackageIndexFileRepr
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 99bc62c6..b8819b31 100755
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
from distutils.core import setup, Extension
from distutils.sysconfig import parse_makefile
-from DistUtilsExtra.distutils_extra import build_extra, build_l10n
+from DistUtilsExtra.command import *
import glob, os, string
# The apt_pkg module
@@ -40,8 +40,8 @@ setup(name="python-apt",
glob.glob('build/data/templates/*.info')),
('share/python-apt/templates',
glob.glob('data/templates/*.mirrors'))],
- cmdclass = { "build" : build_extra,
- "build_l10n" : build_l10n },
+ cmdclass = { "build" : build_extra.build_extra,
+ "build_i18n" : build_i18n.build_i18n },
license = 'GNU GPL',
platforms = 'posix'
)