From dd5e97575a36f2b96b4838d04cd276a50c425b20 Mon Sep 17 00:00:00 2001 From: Guru <85431575+TheGuruCo@users.noreply.github.com> Date: Sat, 5 Jul 2025 16:32:56 -0500 Subject: [PATCH] DOCS: Add detailed Windows build instructions --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index ebab2e6016850..26c65aacef56f 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,36 @@ python -m pip install -ve . --no-build-isolation -Ceditable-verbose=true See the full instructions for [installing from source](https://pandas.pydata.org/docs/dev/development/contributing_environment.html). +--- + +### Building from Source on Windows (Development Setup) + +To build pandas from source on a fresh Windows environment, several build-time dependencies are required. The following steps outline the full process: + +1. **Install C++ Build Tools:** + * Download and run the "Build Tools for Visual Studio 2022". + * In the installer, you must select the **"Desktop development with C++"** workload. + +2. **Create and Activate a Virtual Environment:** + ```bash + python -m venv venv + .\venv\Scripts\activate + ``` + +3. **Install Python Build Dependencies:** + The build process requires several Python packages that must be installed first. + ```bash + pip install meson-python ninja versioneer cython numpy + ``` + +4. **Install Pandas in Editable Mode:** + Once all dependencies are in place, run the following command from the project root to install pandas in development mode. + ```bash + python -m pip install -ve . --no-build-isolation -Ceditable-verbose=true + ``` +--- + + ## License [BSD 3](LICENSE)