Fix path to requests library
This commit is contained in:
parent
f87a4b9a04
commit
7288581393
1 changed files with 4 additions and 3 deletions
|
@ -5,9 +5,10 @@ import os
|
|||
import re
|
||||
import sys
|
||||
|
||||
sys.path.append(os.path.abspath(os.path.join(__file__, '..', '..', '..',
|
||||
'vendor', 'requests', 'build',
|
||||
'lib')))
|
||||
REQUESTS_DIR = os.path.abspath(os.path.join(__file__, '..', '..', '..',
|
||||
'vendor', 'requests'))
|
||||
sys.path.append(os.path.join(REQUESTS_DIR, 'build', 'lib'))
|
||||
sys.path.append(os.path.join(REQUESTS_DIR, 'build', 'lib.linux-x86_64-2.7'))
|
||||
import requests
|
||||
|
||||
GITHUB_URL = 'https://api.github.com'
|
||||
|
|
Loading…
Add table
Reference in a new issue