fix for opensuse 10.3 being retarded
This commit is contained in:
parent
989abbc531
commit
bbbc8024e5
2
setup.py
2
setup.py
|
@ -112,7 +112,7 @@ if not OS == "win":
|
|||
'/usr/include/python' + python_version]
|
||||
|
||||
if OS == "linux":
|
||||
if os.WEXITSTATUS(os.system('grep -iq "Debian GNU/Linux 4.0\|Ubuntu 7.04\|Ubuntu 6.06\|Ubuntu 6.10\|Fedora Core release 6\|openSUSE 10.2\|Mandriva Linux release 2007.1\|Fedora release 7\|BLAG release 60001\|Yellow Dog Linux release 5.0 (Phoenix)\|CentOS release 5 (Final)" /etc/issue')) == 0:
|
||||
if os.WEXITSTATUS(os.system('grep -iq "Debian GNU/Linux 4.0\|Ubuntu 7.04\|Ubuntu 6.06\|Ubuntu 6.10\|Fedora Core release 6\|openSUSE 10.2\|openSUSE 10.3\|Mandriva Linux release 2007.1\|Fedora release 7\|BLAG release 60001\|Yellow Dog Linux release 5.0 (Phoenix)\|CentOS release 5 (Final)" /etc/issue')) == 0:
|
||||
boosttype = 'nomt'
|
||||
else:
|
||||
boosttype = 'mt'
|
||||
|
|
Loading…
Reference in New Issue