mirror of https://github.com/zulip/zulip.git
provision: Silently unset PIP_USER if set.
This commit is contained in:
parent
58920affd4
commit
6705085e25
|
@ -7,6 +7,9 @@ ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__f
|
||||||
if ZULIP_PATH not in sys.path:
|
if ZULIP_PATH not in sys.path:
|
||||||
sys.path.append(ZULIP_PATH)
|
sys.path.append(ZULIP_PATH)
|
||||||
|
|
||||||
|
# unset PIP_USER if set, since it is not compatible with virtualenvs.
|
||||||
|
os.environ.pop("PIP_USER", None)
|
||||||
|
|
||||||
from scripts.lib.setup_venv import setup_virtualenv
|
from scripts.lib.setup_venv import setup_virtualenv
|
||||||
from scripts.lib.zulip_tools import overwrite_symlink
|
from scripts.lib.zulip_tools import overwrite_symlink
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue