A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-May/119284.html below:

[Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

[Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packagesChristian Heimes lists at cheimes.de
Sat May 5 17:23:24 CEST 2012
Am 05.05.2012 16:13, schrieb Antoine Pitrou:
> Perhaps setup.py should detect that? It shouldn't be too hard to
> parse /etc/debian_version in order to know whether the system is
> multiarch-enabled. That would avoid confusing build failures.

This sounds like a good idea. dpkg-architecture is available on older
version of Debian and Ubuntu but doesn't support DEB_HOST_MULTIARCH
(which is fine).

We could parse the output of platform.dist() but it's easier to just
search for the apt-get command:

if not find_executable('apt-get'):
    # no Debian based distro
    return
if not find_executable('dpkg-architecture'):
    print "Warning, Debian detected but no dpkg-architecture found.
Please run 'sudo apt-get install build-essential'.
    return

Christian

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4