Skip to content

Commit 6f89d2d

Browse files
committed
Do not pass EnableBytecodeDSLInterpreter flag to pip install setuptools in get_setuptools
1 parent 2d83621 commit 6f89d2d

File tree

1 file changed

+1
-4
lines changed
  • graalpython/com.oracle.graal.python.test/src/tests

1 file changed

+1
-4
lines changed

graalpython/com.oracle.graal.python.test/src/tests/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,7 @@ def get_setuptools(setuptools='setuptools==67.6.1'):
7777
py_executable = setuptools_path / 'Scripts' / 'python.exe'
7878
else:
7979
py_executable = setuptools_path / 'bin' / 'python3'
80-
extra_args = []
81-
if sys.implementation.name == "graalpy" and not system_python and not __graalpython__.is_native:
82-
extra_args = ['--vm.Dpython.EnableBytecodeDSLInterpreter=true']
83-
subprocess.run([py_executable, *extra_args, "-m", "pip", "install", "--target", str(setuptools_path), setuptools], check=True)
80+
subprocess.run([py_executable, "-m", "pip", "install", "--target", str(setuptools_path), setuptools], check=True)
8481
print('setuptools is installed in %s' % setuptools_path)
8582

8683
pyvenv_site = str(setuptools_path)

0 commit comments

Comments
 (0)