Skip to content

Commit a04fe4f

Browse files
committed
Fix pyvenv.cfg home key to be according to PEP 405
1 parent d7ad467 commit a04fe4f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

graalpython/lib-python/3/venv/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,6 @@ def create_if_needed(d):
146146
libpath = self._venv_path(env_dir, 'purelib')
147147

148148
# Truffle change:
149-
# The original CPython code assumes that one level up from the executable (not resolving
150-
# symlinks) is the Python home. It is not the case for us since $GRAALVM_HOME/bin/graalpy
151-
# is just a symlink to $GRAALVM_HOME/languages/python/bin/graalpy.
152-
context.python_dir = __graalpython__.home
153149
if not self.symlinks and os.name != 'nt':
154150
# We cannot copy the launcher to another location, because it is either bash launcher
155151
# that locates the java executable relative to it, or it is a native application that

0 commit comments

Comments
 (0)