File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88try :
99 from pyogg import *
10- PYOGG_AVAIL = PYOGG_OGG_AVAIL
10+ PYOGG_AVAIL = ( PYOGG_OGG_AVAIL and PYOGG_VORBIS_AVAIL and PYOGG_VORBIS_FILE_AVAIL ) or ( PYOGG_OPUS_AVAIL and PYOGG_OPUS_FILE_AVAIL ) or PYOGG_FLAC_AVAIL
1111except :
1212 PYOGG_AVAIL = False
1313
Original file line number Diff line number Diff line change 11from al import *
2+
3+ import warnings
4+
5+ warnings .warn (DeprecationWarning ("This submodule will no longer be supported in a future release.\n Please use 'al' instead" ))
Original file line number Diff line number Diff line change 11from alc import *
2+
3+ import warnings
4+
5+ warnings .warn (DeprecationWarning ("This submodule will no longer be supported in a future release.\n Please use 'alc' instead" ))
Original file line number Diff line number Diff line change 33import ctypes
44import ctypes .util
55
6- from .library_loader import ExternalLibrary , ExternalLibraryError
7-
8- lib = None
9- for name in ("openal" , "OpenAL32" , "soft_oal" ):
10- try :
11- lib = ExternalLibrary .load (name )
12- except :
13- continue
14- if lib : break
15-
16- if not lib :
17- raise ExternalLibraryError ("OpenAL library couldn't be found" )
6+ from .al_lib import lib
187
198AL_NONE = 0
209AL_FALSE = 0
Original file line number Diff line number Diff line change 1+ from .library_loader import ExternalLibrary , ExternalLibraryError
2+
3+ lib = None
4+ for name in ("soft_oal" , "OpenAL32" , "openal" ):
5+ try :
6+ lib = ExternalLibrary .load (name )
7+ except :
8+ continue
9+ if lib : break
10+
11+ if not lib :
12+ raise ExternalLibraryError ("OpenAL library couldn't be found" )
Original file line number Diff line number Diff line change 33import ctypes
44import ctypes .util
55
6- from .library_loader import ExternalLibrary , ExternalLibraryError
7-
8- lib = None
9- for name in ("openal" , "OpenAL32" , "soft_oal" ):
10- try :
11- lib = ExternalLibrary .load (name )
12- except :
13- continue
14- if lib : break
15-
16- if not lib :
17- raise ExternalLibraryError ("OpenAL library couldn't be found" )
6+ from .al_lib import lib
187
198ALC_FALSE = 0
209ALC_TRUE = 1
Original file line number Diff line number Diff line change 11import ctypes
2+ import ctypes .util
23import os
34import sys
45import platform
Original file line number Diff line number Diff line change 1818 # Versions should comply with PEP440. For a discussion on single-sourcing
1919 # the version across setup.py and the project code, see
2020 # https://packaging.python.org/en/latest/single_source_version.html
21- version = '0.7.6a1 ' ,
21+ version = '0.7.9a1 ' ,
2222
2323 description = 'OpenAL integration for Python' ,
2424 long_description = open (path .join (here , 'README.md' )).read (),
6060 'Programming Language :: Python :: 3.5' ,
6161 'Programming Language :: Python :: 3.6' ,
6262 'Programming Language :: Python :: 3.7' ,
63+ 'Programming Language :: Python :: 3.8' ,
6364 ],
6465
6566 # What does your project relate to?
You can’t perform that action at this time.
0 commit comments