diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-26 10:17:09 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-26 10:17:09 +0200 |
| commit | 0e8fd33b1b741cc65c284a08faa50b3a2995ac3c (patch) | |
| tree | ef83cdce0261661c21f588edbe838acf47166d3c /setup.py | |
| parent | 1f1cc6179cd9c7f15231a4d082fdbf374ad7cace (diff) | |
| download | python-apt-0e8fd33b1b741cc65c284a08faa50b3a2995ac3c.tar.gz | |
* debian/compat:
- debhelper compat level set to 5
* debian/changelog:
- merged the changelog from the NMU
* debian/control:
- merged the changes from the NMU
- set standards version to 3.6.2.0
* debian/rules:
- fix arch-build target
* setup.py:
- simplify the patch magling by using map() instead of "for i in range()"
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -7,22 +7,18 @@ import string, glob # The apt_pkg module -files = string.split(parse_makefile("python/makefile")["APT_PKG_SRC"]); -for i in range(0,len(files)): - files[i] = "python/"+ files[i]; -apt_pkg = Extension("apt_pkg", files, - libraries=["apt-pkg"]); +files = map(lambda source: "python/"+source, + string.split(parse_makefile("python/makefile")["APT_PKG_SRC"])) +apt_pkg = Extension("apt_pkg", files, libraries=["apt-pkg"]); # The apt_inst module -files = string.split(parse_makefile("python/makefile")["APT_INST_SRC"]); -for i in range(0,len(files)): - files[i] = "python/"+ files[i]; -apt_inst = Extension("apt_inst", files, - libraries=["apt-pkg","apt-inst"]); +files = map(lambda source: "python/"+source, + string.split(parse_makefile("python/makefile")["APT_INST_SRC"])) +apt_inst = Extension("apt_inst", files, libraries=["apt-pkg","apt-inst"]); setup(name="python-apt", - version="0.6.13", + version="0.6.17", description="Python bindings for APT", author="APT Development Team", author_email="deity@lists.debian.org", |
