
Dec. 29, 2013
10:31 p.m.
On Dec 29, 2013, at 3:28, anatoly techtonik <techtonik@gmail.com> wrote:
if os.architecture == 32: download('http://www.libsdl.org/release/SDL2-2.0.1-win32-x86.zip') else: download('http://www.libsdl.org/release/SDL2-2.0.1-win32-x64.zip')
Love it! A win32-x86 build is exactly what you want on 32-bit ARM9 linux, a win32-x64 build is perfect for ppc64 OS X. And if you're running a 32-bit python on 64-bit Windows you almost certainly want to download 64-bit libraries, right? I also love hard coding SDL 2.0.1 into your portable application, because there's no way they'll ever release a newer version without telling you in advance so you can forcibly update all your users, which makes their "latest" links useless.