diff --git a/README.md b/README.md index 871fcb24..30d46d6f 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,10 @@ This software is licensed under the LGPL v3. # installation - Archlinux: PKGBUILD in AUR - PIP: sudo pip install fenrir-screenreader -- Manual: run install.sh and uninstall.sh as root +- Manual: + - install "espeak" and "sox" with your package manager + - sudo pip install -r requirements.txt + - run install.sh and uninstall.sh as root - you also can just run it from Git without installing: You can just run the following as root: if you are in Fenrir Git rootfolder: diff --git a/install.sh b/install.sh index 9a7a7931..78b46170 100755 --- a/install.sh +++ b/install.sh @@ -51,9 +51,12 @@ Installation complete. install path:/opt/fenrirscreenreader settings path:/etc/fenrirscreenreader -To test Fenrir -sudo systemctl start fenrir -To have Fenrir start on system boot: +To test Fenrir: +sudo fenrir + +To have Fenrir start on system boot using systemd: +download service file: https://raw.githubusercontent.com/chrys87/fenrir/master/autostart/systemd/Arch/fenrir.service +move the service file to: /etc/systemd/system/fenrir.service sudo systemctl enable fenrir Pulseaudio users may want to run diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..518049ca --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +evdev>=1.1.2 +daemonize>=2.5.0 +dbus-python>=1.2.8 +pyudev>=0.21.0 +pexpect +pyttsx3 +pyte>=0.7.0 diff --git a/setup.py b/setup.py index ea1bb2e9..70b7e5b3 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools import find_packages from setuptools import setup fenrirVersion = '1.9.3' -packageVersion = 'post1' +packageVersion = 'post2' # handle flags for package manager like yaourt and pacaur. forceSettings = False @@ -86,14 +86,14 @@ setup( # Dependent packages (distributions) install_requires=[ - "evdev", - "daemonize", - "dbus-python", - "pyudev", + "evdev>=1.1.2", + "daemonize>=2.5.0", + "dbus-python>=1.2.8", + "pyudev>=0.21.0", "setuptools", "pexpect", "pyttsx3", - "pyte", + "pyte>=0.7.0", ], )