You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ pythonEmbed {
25
25
'torch',
26
26
'msgpack'
27
27
]
28
-
requirements = file('requirements.txt') // alternative to packages
28
+
requirementsFile = 'requirements.txt' // alternative to packages
29
29
}
30
30
```
31
31
@@ -36,6 +36,19 @@ pythonEmbed {
36
36
3. If not found → downloads [python-build-standalone](https://github.com/astral-sh/python-build-standalone) (~50 MB, cached) and installs packages directly
37
37
4. Packages the venv as a JAR resource for runtime extraction
38
38
39
+
### Extension Properties
40
+
41
+
| Property | Type | Default | Description |
42
+
|----------|------|---------|-------------|
43
+
|`packages`|`List<String>`|`[]`| Pip packages to install |
44
+
|`requirementsFile`|`String`| — | Path to `requirements.txt` (relative to project root) |
45
+
|`pyprojectTomlFile`|`String`| — | Path to `pyproject.toml` (relative to project root) |
46
+
|`pythonVersion`|`String`|`3.12`| Python version (for python-build-standalone) |
0 commit comments