Skip to content

Commit 2bd72ed

Browse files
committed
Try fixing platform module on 2.7
1 parent f5140ab commit 2bd72ed

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

doc/news.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ New Features:
6868
line heights for multi-line text, left/right/center justification operations
6969
for multiline text, and specifying font sizes in units of pixels in addition
7070
to pt (PR #210)
71+
* Updated PySDL2 to automatically find and use Homebrew SDL2 binaries on
72+
Apple Silicon macs if no other usable binaries can be found.
7173

7274
Fixed Bugs:
7375

sdl2/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""SDL2 wrapper package"""
2+
from __future__ import absolute_import
23
from .dll import get_dll_file, _bind
34
from ctypes import c_int as _cint
45

sdl2/dll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""DLL wrapper"""
1+
from __future__ import absolute_import
22
import os
33
import sys
44
import warnings

0 commit comments

Comments
 (0)