fix(script): use os.environ instead of subprocess.environ in setup script (#205)

This commit is contained in:
Florian Asche authored and GitHub committed 2026-03-05 02:14:09 +01:00
1 parent 54c6b010f3
commit 1104614608
1 file changed
+2 -1
+2 -1
View File
@@ -2,6 +2,7 @@
import argparse
import subprocess
import venv
import os
from pathlib import Path
_DIR = Path(__file__).parent
@@ -37,5 +38,5 @@ if args.dev:
subprocess.check_call(
pip + ["install", "-e", f"{_PROGRAM_DIR}[dev]"],
env={**dict(subprocess.environ), **env}
env={**dict(os.environ), **env}
)