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: build_env.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,32 +137,31 @@ configuration, please [open an issue](https://github.com/mhammond/pywin32/issues
137
137
- Follow the `For Visual Studio XXXX` instructions above and pick the optional ARM64 build tools
138
138
139
139
- Download prebuilt Python ARM64 binaries to a temporary location on your machine. You will need this location in a later step.
140
+
- This script downloads a Python ARM64 build [from NuGet](https://www.nuget.org/packages/pythonarm64/#versions-tab) that matches the version you used to run it.
- This script downloads a Python ARM64 build [from NuGet](https://www.nuget.org/packages/pythonarm64/#versions-tab) that matches the version you used to run it.
- Update `setuptools` and setthe following environment variables to ensure it is used:
152
+
- Set the following environment variables to ensure it is used by `setuptools`:
153
153
154
154
```shell
155
155
set DISTUTILS_USE_SDK=1
156
156
```
157
157
158
158
- Build the extensions, passing the directory from earlier. You may optionally add the `bdist_wheel`command to generate a wheel.
159
+
- If you are not using an initialized build environment, you will need to specify the `build_ext`, `build` and `bdist_wheel` commands and pass `--plat-name win-arm64` to *each* of them separately. Otherwise you may get a mixed platform build and/or linker errors.
- If you are not using an initialized build environment, you will need to specify the `build_ext`, `build` and `bdist_wheel` commands and pass `--plat-name win-arm64` to *each* of them separately. Otherwise you may get a mixed platform build and/or linker errors.
165
-
166
165
- Copy the built wheel to the target machine and install directly:
0 commit comments