forked from VimPlug/jedi
virtualenv progress
This commit is contained in:
@@ -17,6 +17,7 @@ from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import os
|
||||
from sysconfig import get_config_var
|
||||
|
||||
|
||||
def makepath(*paths):
|
||||
@@ -108,3 +109,8 @@ def addsitedir(sys_path, sitedir, known_paths=None):
|
||||
if reset:
|
||||
known_paths = None
|
||||
return known_paths
|
||||
|
||||
|
||||
def getuserbase():
|
||||
"""Returns the `user base` directory path."""
|
||||
return get_config_var('userbase')
|
||||
|
||||
Reference in New Issue
Block a user