mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #4853 from pypa:bugfix/virtualenv_python
Don't use sys.executable when inside a venv
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Don't use ``sys.executable`` when inside an activated venv.
|
||||
@@ -357,7 +357,6 @@ class Setting:
|
||||
self.PIPENV_VIRTUALENV = None
|
||||
if "PIPENV_ACTIVE" not in os.environ and not self.PIPENV_IGNORE_VIRTUALENVS:
|
||||
self.PIPENV_VIRTUALENV = os.environ.get("VIRTUAL_ENV")
|
||||
self.PIPENV_USE_SYSTEM = bool(self.PIPENV_VIRTUALENV)
|
||||
|
||||
# Internal, tells Pipenv to skip case-checking (slow internet connections).
|
||||
# This is currently always set to True for performance reasons.
|
||||
|
||||
Reference in New Issue
Block a user