Commit 036fc030 authored by echel0n's avatar echel0n

Refactoring requirements.txt

parent 2a15a42d
# Changelog
- * 849b140 - 2017-10-24: Refactoring requirements.txt
- * a244b27 - 2017-10-24: Refactoring requirements.txt
- * 2a15a42 - 2017-10-24: Refactoring requirements.txt
- * c7de2b3 - 2017-10-24: Refactoring requirements.txt
- * 3df51c0 - 2017-10-24: Refactoring requirements.txt
- * dfdaf49 - 2017-10-24: Fixed setup import errors for babel
......
......@@ -27,7 +27,6 @@ python_dateutil == 2.6.0
pynzb == 0.1.0
futures == 3.0.5
gi == 1.2
PyGithub == 1.33.0
gntp == 1.0.3
google_api_python_client == 1.5.1
python_twitter == 3.2.1
......@@ -42,5 +41,4 @@ html5lib == 1.0b10
arrow==0.10.0
unidecode==0.4.21
twilio==6.7.0
chardet==3.0.4
cryptography==1.9
\ No newline at end of file
chardet==3.0.4
\ No newline at end of file
......@@ -342,18 +342,6 @@ class UpdateManager(object):
def get_update_url():
return "{}/home/update/?pid={}".format(sickrage.srCore.srConfig.WEB_ROOT, sickrage.srCore.PID)
@staticmethod
def github():
import github
try:
return github.Github(
login_or_token=sickrage.srCore.srConfig.GIT_USERNAME,
password=sickrage.srCore.srConfig.GIT_PASSWORD,
user_agent="SiCKRAGE")
except Exception:
return github.Github(user_agent="SiCKRAGE")
def install_requirements(self):
__, __, exit_status = self._pip_cmd(self._pip_path,
'install --no-cache-dir --user -r {}'.format(sickrage.REQS_FILE))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment