diff -up persepolis-3.0.0/setup.py.nodepcheck persepolis-3.0.0/setup.py
--- persepolis-3.0.0/setup.py.nodepcheck 2017-12-31 00:14:13.966866715 +0330
+++ persepolis-3.0.0/setup.py 2017-12-31 00:14:46.925588378 +0330
@@ -19,72 +19,6 @@ else:
print('This script is only work for GNU/Linux or BSD!')
sys.exit(1)
-# Checking dependencies!
-# PyQt5
-try:
- import PyQt5
- print('python3-pyqt5 is found')
-except:
- print('Error : python3-pyqt5 is not installed!')
- sys.exit(1)
-
-# python3-requests
-try:
- import requests
- print('python3-requests is found!')
-except:
- print('Error : requests is not installed!')
- sys.exit(1)
-
-# python3-setproctitle
-try:
- import setproctitle
- print('python3-setproctitle is found!')
-except:
- print("Warning: setproctitle is not installed!")
-
-# psutil
-try:
- import psutil
- print('python3-psutil is found!')
-except:
- print("Warning: python3-psutil is not installed!")
-
-# aria2
-answer = os.system('aria2c --version 1>/dev/null')
-if answer != 0:
- print("Error aria2 not installed!")
- sys.exit(1)
-else:
- print('aria2 is found!')
-
-# libnotify-bin
-answer = os.system('notify-send --version 1>/dev/null')
-if answer != 0:
- print("Error libnotify-bin is not installed!")
- sys.exit(1)
-else:
- print('libnotify-bin is found!')
-
-# paplay
-answer = os.system('paplay --version 1>/dev/null')
-if answer != 0:
- print("Warning: paplay not installed!You need pulseaudio for sound notifications!")
-else:
- print('paplay is found!')
-
-# sound-theme-freedesktop
-if os_type == 'Linux':
- notifications_path = '/usr/share/sounds/freedesktop/stereo/'
-elif os_type == 'FreeBSD' or os_type == 'OpenBSD':
- notifications_path = '/usr/local/share/sounds/freedesktop/stereo/'
-
-if os.path.isdir(notifications_path):
- print('sound-theme-freedesktop is found!')
-else:
- print('Warning: sound-theme-freedesktop is not installed! you need this package for sound notifications!')
-
-
DESCRIPTION = 'Persepolis Download Manager'