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
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