Skip to content

Commit

Permalink
Merge pull request #5 from persepolisdm/master
Browse files Browse the repository at this point in the history
removed #
  • Loading branch information
hayyan71 committed Feb 4, 2018
2 parents 6ad5ee3 + 7187124 commit ef1426e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
1 change: 0 additions & 1 deletion persepolis/Persepolis Download Manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


Expand Down
1 change: 0 additions & 1 deletion persepolis/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


Expand Down
17 changes: 11 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@
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:
Expand All @@ -66,19 +64,24 @@
except:
print("Warning: python3-psutil is not installed!")

# youtube_dl
try:
import youtube_dl
print('youtube_dl is found')
except:
print('Warning: youtube_dl 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!')

Expand All @@ -101,7 +104,9 @@
print('Warning: sound-theme-freedesktop is not installed! you need this package for sound notifications!')



if sys.argv[1] == "test":
print('We have not unit test :)')
sys.exit('0')

DESCRIPTION = 'Persepolis Download Manager'

Expand Down Expand Up @@ -151,7 +156,7 @@
license = 'GPL3',
description = DESCRIPTION,
long_description = DESCRIPTION,
include_package_data=True,
include_package_data = True,
url = 'https://github.com/persepolisdm/persepolis',
author = 'AliReza AmirSamimi',
author_email = 'alireza.amirsamimi@gmail.com',
Expand Down

0 comments on commit ef1426e

Please sign in to comment.