mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #4840 from LKI/fix
fix: set `PIPENV_USE_SYSTEM` when sync with `--system`
This commit is contained in:
@@ -2837,6 +2837,9 @@ def do_sync(
|
||||
requirements_dir = vistir.path.create_tracked_tempdir(
|
||||
suffix="-requirements", prefix="pipenv-"
|
||||
)
|
||||
if system:
|
||||
project.s.PIPENV_USE_SYSTEM = True
|
||||
os.environ["PIPENV_USE_SYSTEM"] = "1"
|
||||
do_init(
|
||||
project,
|
||||
dev=dev,
|
||||
|
||||
Reference in New Issue
Block a user