add urllib3 and urllib3.util to sys.path

This commit is contained in:
Alan Hamlett 2015-04-01 21:19:17 -07:00
parent 2da973d3f5
commit dccd4c11bd
2 changed files with 5 additions and 3 deletions

View file

@ -27,11 +27,13 @@ except ImportError:
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages', 'requests', 'packages'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages', 'requests', 'packages', 'urllib3'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages', 'requests', 'packages', 'urllib3', 'util'))
from .__about__ import __version__
from .compat import u, open, is_py3
from .offlinequeue import Queue
from .log import setup_logging
from .logger import setup_logging
from .project import find_project
from .stats import get_file_stats
from .packages import argparse

View file

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
wakatime.log
~~~~~~~~~~~~
wakatime.logger
~~~~~~~~~~~~~~~
Provides the configured logger for writing JSON to the log file.