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 re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
sys.path.append(os.path.abspath(os.path.join(__file__, '..', '..', '..',
|
REQUESTS_DIR = os.path.abspath(os.path.join(__file__, '..', '..', '..',
|
||||||
'vendor', 'requests', 'build',
|
'vendor', 'requests'))
|
||||||
'lib')))
|
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
|
import requests
|
||||||
|
|
||||||
GITHUB_URL = 'https://api.github.com'
|
GITHUB_URL = 'https://api.github.com'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue