From 9f9ac75c64894f5e0e469fc929564a2c3236d2c2 Mon Sep 17 00:00:00 2001 From: Jean Gressmann Date: Sat, 8 Feb 2025 10:27:04 +0100 Subject: [PATCH] windows: python: update documentation --- Windows/python/README.md | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/Windows/python/README.md b/Windows/python/README.md index 08798ca..41f9a6b 100644 --- a/Windows/python/README.md +++ b/Windows/python/README.md @@ -2,16 +2,28 @@ ## Installation -Assuming you have Visual Studio (Build Tools) installed, navigate -to this directory and then run +### Visual Studio (Build Tools) -```console -python -m pip install setuptools -``` +Open a native command prompt. -```console -python -m pip install . -``` +### MingGW / MSYS2 + +1. Open a MinGW shell suitable for your system (MinGW64, typically). +2. Ensure you have the necessary packages installed, i.e + + ```sh + pacman -S mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-python-pip + ``` + +### Common Steps + +1. Navigate to this directory + +2. Run + + ```console + python -m pip install . + ``` ## Usage from Python