diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-06-12 09:30:56 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-06-12 09:30:56 +0200 |
| commit | 02f1443ee316fe5c0dcf1c56471168b5482c49df (patch) | |
| tree | c3dee7485a0875187c50490328cfee496acaacf9 /setup.py | |
| parent | d95f725d231b50350bbf5c301b5a598d591991af (diff) | |
| download | python-apt-02f1443ee316fe5c0dcf1c56471168b5482c49df.tar.gz | |
cherry pick r472 from lp:~ubuntu-core-dev/python-apt/ubuntu (thanks Colin!)
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -25,7 +25,11 @@ except ImportError: if sys.version_info[0] == 3: from distutils.command.build_py import build_py_2to3 + from lib2to3.refactor import get_fixers_from_package cmdclass['build_py'] = build_py_2to3 + cmdclass['build_py'].fixer_names = sorted( + set(get_fixers_from_package("lib2to3.fixes")) - + set(["lib2to3.fixes.fix_future"])) # The apt_pkg module. files = ['apt_pkgmodule.cc', 'acquire.cc', 'cache.cc', 'cdrom.cc', |
