-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Open
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-venvRelated to the venv moduleRelated to the venv moduletype-featureA feature request or enhancementA feature request or enhancement
Description
These two lines of code sometimes make the executable path point somewhere unexpected:
Line 210 in 8b5ce31
real_env_exe = os.path.realpath(context.env_exe) |
Line 240 in 8b5ce31
f.write('executable = %s\n' % os.path.realpath(sys.executable)) |
Based on the following issue, realpath
is necessary in some cases. However, there are situations where using "redirects, links or junctions" is intentional! For example, using subst
to change drive letters or path for venv.
#89500
Would it be possible to add an option to disable the use of realpath
during venv creation?
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-venvRelated to the venv moduleRelated to the venv moduletype-featureA feature request or enhancementA feature request or enhancement