import os
import os.path


class GlobalConfig:

    # TODO: allow different Python stdlib versions per workspace?

    PYTHON_PATH = os.path.dirname(os.__file__)
    PACKAGES_PARENT = "python-langserver-cache"
    STDLIB_REPO_URL = "git://github.com/python/cpython"
    STDLIB_SRC_PATH = "Lib"

import os
import os.path
import distutils

class GlobalConfig:

    # TODO: allow different Python stdlib versions per workspace?

    PYTHON_PATH = distutils.sysconfig.get_python_lib(standard_lib=True)
    PACKAGES_PARENT = "python-langserver-cache"
    STDLIB_REPO_URL = "git://github.com/python/cpython"
    STDLIB_SRC_PATH = "Lib"

fix indexing std lib when using virtualenv (#40)