Skip to content

Commit 25f45fb

Browse files
committed
Remove vestigial reference to pythonjni
1 parent 6bcf6a6 commit 25f45fb

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,6 @@ def wants_debug_build(flags=os.environ.get("CFLAGS", "")):
161161

162162

163163
if WIN32:
164-
# we need the .lib for pythonjni
165-
original_DefaultNativeProject_getArchivableResults = mx_native.DefaultNativeProject.getArchivableResults
166-
def getArchivableResultsWithLib(self, *args, **kwargs):
167-
for result in original_DefaultNativeProject_getArchivableResults(self, *args, **kwargs):
168-
if any(r.endswith("pythonjni.dll") for r in result):
169-
yield tuple(r.replace(".dll", ".lib") for r in result)
170-
yield result
171-
mx_native.DefaultNativeProject.getArchivableResults = getArchivableResultsWithLib
172-
173164
# let's check if VS compilers are on the PATH
174165
if not os.environ.get("LIB"):
175166
mx.log("LIB not in environment, not a VS shell")

mx.graalpython/suite.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,9 +1053,6 @@
10531053
"BOUNCYCASTLE-PKIX",
10541054
"BOUNCYCASTLE-UTIL",
10551055
],
1056-
"javaProperties": {
1057-
# "python.jni.library": "<lib:pythonjni>"
1058-
},
10591056
"description": "GraalPy, a high-performance embeddable Python 3 runtime for Java. This artifact includes the core language runtime without standard libraries. It is not recommended to depend on the artifact directly. Instead, use \'org.graalvm.polyglot:python\' or \'org.graalvm.polyglot:python-community\' to ensure all dependencies are pulled in correctly.",
10601057
"maven": {
10611058
"artifactId": "python-language",

0 commit comments

Comments
 (0)