summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorBen Finney <ben@benfinney.id.au>2008-05-16 18:04:01 +1000
committerBen Finney <ben@benfinney.id.au>2008-05-16 18:04:01 +1000
commit0d12af28d4de2745f8831abf0224ceabec693b76 (patch)
tree01f46a2739eebc6676fc70a6ba93a69121e1bea6 /setup.py
parentad7bc46acd80451de21ce58450edb0f4367a5c79 (diff)
downloadpython-apt-0d12af28d4de2745f8831abf0224ceabec693b76.tar.gz
Fix spaces adjacent to commas and operators, to conform with PEP 8.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py35
1 files changed, 18 insertions, 17 deletions
diff --git a/setup.py b/setup.py
index 72fada77..2c11d9d3 100755
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ apt_pkg = Extension("apt_pkg", files, libraries=["apt-pkg"]);
# The apt_inst module
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"]);
+apt_inst = Extension("apt_inst", files, libraries=["apt-pkg", "apt-inst"]);
# Replace the leading _ that is used in the templates for translation
templates = []
@@ -29,19 +29,20 @@ for template in glob.glob('data/templates/*.info.in'):
source.close()
build.close()
-setup(name="python-apt",
- version="0.6.17",
- description="Python bindings for APT",
- author="APT Development Team",
- author_email="deity@lists.debian.org",
- ext_modules=[apt_pkg,apt_inst],
- packages=['apt', 'aptsources'],
- data_files = [('share/python-apt/templates',
- glob.glob('build/data/templates/*.info')),
- ('share/python-apt/templates',
- glob.glob('data/templates/*.mirrors'))],
- cmdclass = { "build" : build_extra.build_extra,
- "build_i18n" : build_i18n.build_i18n },
- license = 'GNU GPL',
- platforms = 'posix'
- )
+setup(
+ name="python-apt",
+ version="0.6.17",
+ description="Python bindings for APT",
+ author="APT Development Team",
+ author_email="deity@lists.debian.org",
+ ext_modules=[apt_pkg, apt_inst],
+ packages=['apt', 'aptsources'],
+ data_files=[('share/python-apt/templates',
+ glob.glob('build/data/templates/*.info')),
+ ('share/python-apt/templates',
+ glob.glob('data/templates/*.mirrors'))],
+ cmdclass={"build": build_extra.build_extra,
+ "build_i18n": build_i18n.build_i18n},
+ license='GNU GPL',
+ platforms='posix',
+ )