Worked on updating installation files, e.g. install.sh, requirements.txt, and setup.py. Maybe broken, proceed with caution.
This commit is contained in:
22
setup.py
22
setup.py
@ -94,17 +94,17 @@ setup(
|
||||
data_files=dataFiles,
|
||||
|
||||
# Dependent packages (distributions)
|
||||
python_requires='>=3.6',
|
||||
python_requires='>=3.8',
|
||||
install_requires=[
|
||||
"evdev>=1.1.2",
|
||||
"evdev>=1.4.0",
|
||||
"daemonize>=2.5.0",
|
||||
"dbus-python>=1.2.8",
|
||||
"pyperclip",
|
||||
"pyudev>=0.21.0",
|
||||
"setuptools",
|
||||
"setproctitle",
|
||||
"pexpect",
|
||||
"pyte>=0.7.0",
|
||||
"dbus-python>=1.3.0",
|
||||
"pyperclip>=1.8.0",
|
||||
"pyudev>=0.24.0",
|
||||
"setuptools>=65.0.0",
|
||||
"setproctitle>=1.3.0",
|
||||
"pexpect>=4.8.0",
|
||||
"pyte>=0.8.0",
|
||||
],
|
||||
)
|
||||
|
||||
@ -113,12 +113,12 @@ if not forceSettingsFlag:
|
||||
# create settings file from example if not exist
|
||||
if not os.path.isfile('/etc/fenrirscreenreader/settings/settings.conf'):
|
||||
try:
|
||||
copyfile('config/fenrirscreenreader/settings/settings.conf', '/etc/fenrirscreenreader/settings/settings.conf')
|
||||
copyfile('config/settings/settings.conf', '/etc/fenrirscreenreader/settings/settings.conf')
|
||||
print('create settings file in /etc/fenrirscreenreader/settings/settings.conf')
|
||||
except OSError as e:
|
||||
print(f"Could not copy settings file to destination: {e}")
|
||||
else:
|
||||
print('settings.conf file found. It is not overwritten automatical')
|
||||
print('settings.conf file found. It is not overwritten automatically')
|
||||
|
||||
print('')
|
||||
print('To have Fenrir start at boot:')
|
||||
|
Reference in New Issue
Block a user