We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f181b commit 44f11c8Copy full SHA for 44f11c8
1 file changed
graalpython/com.oracle.graal.python.test/src/tests/__init__.py
@@ -1,4 +1,4 @@
1
-# Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
2
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3
#
4
# The Universal Permissive License (UPL), Version 1.0
@@ -81,7 +81,7 @@ def get_setuptools(setuptools='setuptools==67.6.1'):
81
print('setuptools is installed in %s' % setuptools_path)
82
83
pyvenv_site = str(setuptools_path)
84
- if pyvenv_site not in site.getsitepackages():
+ if os.path.normcase(os.path.normpath(pyvenv_site)) not in {os.path.normcase(os.path.normpath(entry)) for entry in sys.path}:
85
site.addsitedir(pyvenv_site)
86
87
0 commit comments