Skip to content

Commit

Permalink
certifi is no longer a dep of requests, and therefore ours
Browse files Browse the repository at this point in the history
Signed-off-by: Kwpolska <[email protected]>
  • Loading branch information
Kwpolska committed Oct 10, 2012
1 parent 48497f7 commit 23b2df1
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions INSTALL.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,6 @@ def depcheck():
deps['pyalpm'] = False
print(_('not found'))

print("""certifi | AUR | """, end='')
try:
import certifi
deps['certifi'] = True
print(_('found'))
except ImportError:
deps['certifi'] = False
print(_('not found'))

print("""requests | AUR | """, end='')
try:
import requests
Expand Down Expand Up @@ -140,10 +131,8 @@ def install(pkgname):

deps = depcheck()

if deps['certifi'] is False or deps['requests'] is False:
if deps['requests'] is False:
print(_("""Installing missing AUR dependencies..."""))
if deps['certifi'] is False:
install('python-certifi')

if deps['requests'] is False:
install('python-requests')
Expand Down

0 comments on commit 23b2df1

Please sign in to comment.