diff options
| author | Michael Vogt <egon@bottom> | 2006-07-26 16:59:37 +0200 |
|---|---|---|
| committer | Michael Vogt <egon@bottom> | 2006-07-26 16:59:37 +0200 |
| commit | 70c850f4910cfcb6a825c67f577d8bc554612044 (patch) | |
| tree | 5321c9aa207b8743c7cca63e2b7b05609fbcddf7 /setup.py | |
| parent | f701fc174a88d8f2b418a032571ff40ed6fd56e6 (diff) | |
| parent | 6fc084d34105f336fdf090e2dd45e402e25cfc57 (diff) | |
| download | python-apt-70c850f4910cfcb6a825c67f577d8bc554612044.tar.gz | |
* merged from the auto-mark branch
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", |
