summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-05-03 16:25:44 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-05-03 16:25:44 +0000
commit52ecc81517a1fa9748d04f0c0d05ce8396233b71 (patch)
treec8957577c5016af06dcd5c130f01834d69f27f2b /setup.py
parent5483ca175e5aa2b7de55cb0cea69546d2ccd2cd5 (diff)
downloadpython-apt-52ecc81517a1fa9748d04f0c0d05ce8396233b71.tar.gz
* merged with Greek0@gmx.net--2005-main, native apt interface added, fixed a refcount problem, added tests/ directory
* apt/package.py, apt/__init__.py: - started a native python interface that will wrap the uglier bits of python-apt in the future * tests/pkgsrcrecords.py: - started a test directory * python/pkgsrcrecords.cc: - fixed a refcount problem - merged with Greek0s tree Patches applied: * Greek0@gmx.net--2005-main/python-apt--debian--0.6--base-0 tag of apt@packages.debian.org/python-apt--main--0--patch-8 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-1 Minor typo fix in debian/rules * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-2 Typo fix in depcache.cc which caused wrong function to be called * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-3 Improved CppPyObject, leading to a better PkgDepCacheStruct * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-4 Improved build system * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-5 Restored the old tar.cc to work with the older apt in debian again * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-6 Fix for Debian #304296 (Segfault in CppOwnedDealloc) * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-7 Fix for Debian #304903 (FD leak) * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-8 Fixed the compilation error introduced in patch-6 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-9 New debian/changelog from Debians python-apt 0.6.10 * Greek0@gmx.net--2005-main/python-apt--debian--0.6--patch-10 Minor changes to make the packages lintian/linda clean * apt@packages.debian.org/python-apt--main--0--patch-8 Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 64b5db34..fe970825 100644
--- a/setup.py
+++ b/setup.py
@@ -3,8 +3,7 @@
from distutils.core import setup, Extension
from distutils.sysconfig import parse_makefile
-import string;
-
+import string, glob
# The apt_pkg module
files = string.split(parse_makefile("python/makefile")["APT_PKG_SRC"]);
@@ -19,11 +18,13 @@ for i in range(0,len(files)):
files[i] = "python/"+ files[i];
apt_inst = Extension("apt_inst", files,
libraries=["apt-pkg","apt-inst"]);
-
+
setup(name="python-apt",
- version="0.5.4",
+ version="0.5.37",
description="Python bindings for APT",
author="APT Development Team",
author_email="deity@lists.debian.org",
- ext_modules=[apt_pkg,apt_inst])
+ ext_modules=[apt_pkg,apt_inst],
+ packages=['apt']
+ )