cpython: 78aba41a8105 (original) (raw)

Mercurial > cpython

changeset 79081:78aba41a8105 3.2

- Issue #11715: Fix multiarch detection without having Debian development tools (dpkg-dev) installed. [#11715]

doko@ubuntu.com
date Fri, 21 Sep 2012 13:52:29 +0200
parents fe8bd8b621a2
children 637634679bcd e582ad1aee62
files Misc/NEWS setup.py
diffstat 2 files changed, 24 insertions(+), 0 deletions(-)[+] [-] Misc/NEWS 3 setup.py 21

line wrap: on

line diff

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -541,6 +541,9 @@ Tests Build ----- +- Issue #11715: Fix multiarch detection without having Debian development

--- a/setup.py +++ b/setup.py @@ -376,6 +376,27 @@ class PyBuildExt(build_ext): def add_multiarch_paths(self): # Debian/Ubuntu multiarch support. # https://wiki.ubuntu.com/MultiarchSpec[](#l2.6)

+

+ if not find_executable('dpkg-architecture'): return tmpfile = os.path.join(self.build_temp, 'multiarch')