Skip to content

Commit b16cdea

Browse files
committed
[GR-55695][GR-55696] Document pyenv-win support.
PullRequest: graalpython/3413
2 parents 0a015a5 + 785250d commit b16cdea

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ language runtime. The main focus is on user-observable behavior of the engine.
1414
* The option `python.EmulateJython` to enable Jython emulation is now marked as stable, and can thus be relied upon in production.
1515
* Fixed parsing of pyvenv.cfg according to PEP 405, which is required to use [uv](https://github.com/astral-sh/uv?tab=readme-ov-file#uv) generated venvs with GraalPy.
1616
* Use https://www.graalvm.org/python/wheels/ as the default value for the `--extra-index-url` pip option. This will make it easy for users to install GraalPy binary wheels in the future.
17+
* GraalPy can now be installed on Windows with [pyenv-win](https://github.com/pyenv-win/pyenv-win). This makes it as easy to get the latest GraalPy release on Windows as it already is on macOS and Linux using [pyenv](https://github.com/pyenv/pyenv).
1718

1819
## Version 24.0.0
1920
* We now provide a collection of recipes in the form of GitHub Actions to build popular native extensions on GraalPy. These provide a reproducible way for the community to build native extensions for GraalPy with the correct dependencies. See scripts/wheelbuilder/README.md for details.

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,19 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
122122
* Windows
123123

124124
The Windows support of GraalPy is still experimental, so not all features and packages may be available.
125+
The easiest way to install GraalPy on Windows is to use [Pyenv-win](https://pyenv-win.github.io/pyenv-win/) (the Python version manager for Windows).
126+
To install version 24.0.0 using Pyenv-win, run the following commands:
127+
```cmd
128+
pyenv install graalpy-24.0.0-windows-amd64
129+
```
130+
```cmd
131+
pyenv shell graalpy-24.0.0-windows-amd64
132+
```
133+
Alternatively, you can download a compressed GraalPy installation file from [GitHub releases](https://github.com/oracle/graalpython/releases).
125134

126-
1. Find and download a compressed GraalPy installation file from [GitHub releases](https://github.com/oracle/graalpython/releases) that matches the pattern _graalpy-XX.Y.Z-windows-amd64.tar.gz_.
135+
1. Find the download that matches the pattern _graalpy-XX.Y.Z-windows-amd64.tar.gz_ and download.
127136
2. Uncompress the file and update your `PATH` variable to include to the _graalpy-XX.Y.Z-windows-amd64/bin_ directory.
128-
137+
129138
</details>
130139
<details>
131140
<summary><strong><a name="start-using-graalpy-in-github-actions"></a>Using GraalPy in Github Actions</strong></summary>

0 commit comments

Comments
 (0)