deps: Pykka version check doesn't need to work with < 1.0
This commit is contained in:
parent
4d4c560882
commit
b3fd9d8b40
@ -135,15 +135,9 @@ def _gstreamer_check_elements():
|
||||
|
||||
|
||||
def pykka_info():
|
||||
if hasattr(pykka, '__version__'):
|
||||
# Pykka >= 0.14
|
||||
version = pykka.__version__
|
||||
else:
|
||||
# Pykka < 0.14
|
||||
version = pykka.get_version()
|
||||
return {
|
||||
'name': 'Pykka',
|
||||
'version': version,
|
||||
'version': pykka.__version__,
|
||||
'path': pykka.__file__,
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user