From 406417726994c2b5895412b6de7de9f42785d01c Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 15 May 2018 09:23:11 +0200 Subject: [PATCH] Update check-dependencies.py --- check-dependencies.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/check-dependencies.py b/check-dependencies.py index fd900356..56fa1806 100755 --- a/check-dependencies.py +++ b/check-dependencies.py @@ -50,7 +50,18 @@ else: available = available and False if available: currentInstallation.append('vcsaDriver') - +# pty emulation (screen driver) +print('ptyDriver (screen)') +available = True +try: + import pyte + print('pyte: OK') +except: + print('pyte: FAIL') + available = available and False +if available: + currentInstallation.append('ptyDriver') + # BRAILLE print('') print('braille driver') @@ -87,6 +98,17 @@ except: available = available and False if available: currentInstallation.append('evdevDriver') +# pty emulation (input driver) +print('ptyDriver (Input)') +available = True +try: + import pyte + print('pyte: OK') +except: + print('pyte: FAIL') + available = available and False +if available: + currentInstallation.append('ptyDriver') # SOUND print('') print('sound driver')