Skip to content

Commit

Permalink
Document workaround for gradle plugin bug
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Nov 6, 2024
1 parent c4e0cd5 commit a5eeaf4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions graalpy/graalpy-javase-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ We disable this by specifying that we want to exclude all standard library files
Omit this section if you want to include the Python packages into the Java resources (and, for example, ship them in the Jar).
[Later in the Java code](#external-or-embedded-python-code-java) we can configure the GraalPy runtime to load the package from the filesystem or from resources.

**Note** that due to a bug in the 24.1.1 version of the `org.graalvm.python` plugin for **Gradle** you need to include a resource.
A simple workaround is to add a `src/main/resources/META-INF/MANIFEST.MF`:
```
Manifest-Version: 1.0
```

## 4.3 Creating a Python context

GraalPy provides APIs to make setting up a context to load Python packages from Java as easy as possible.
Expand Down

0 comments on commit a5eeaf4

Please sign in to comment.