Skip to content

Commit dd5e975

Browse files
committed
DOCS: Add detailed Windows build instructions
1 parent 51763f9 commit dd5e975

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,36 @@ python -m pip install -ve . --no-build-isolation -Ceditable-verbose=true
143143

144144
See the full instructions for [installing from source](https://pandas.pydata.org/docs/dev/development/contributing_environment.html).
145145

146+
---
147+
148+
### Building from Source on Windows (Development Setup)
149+
150+
To build pandas from source on a fresh Windows environment, several build-time dependencies are required. The following steps outline the full process:
151+
152+
1. **Install C++ Build Tools:**
153+
* Download and run the "Build Tools for Visual Studio 2022".
154+
* In the installer, you must select the **"Desktop development with C++"** workload.
155+
156+
2. **Create and Activate a Virtual Environment:**
157+
```bash
158+
python -m venv venv
159+
.\venv\Scripts\activate
160+
```
161+
162+
3. **Install Python Build Dependencies:**
163+
The build process requires several Python packages that must be installed first.
164+
```bash
165+
pip install meson-python ninja versioneer cython numpy
166+
```
167+
168+
4. **Install Pandas in Editable Mode:**
169+
Once all dependencies are in place, run the following command from the project root to install pandas in development mode.
170+
```bash
171+
python -m pip install -ve . --no-build-isolation -Ceditable-verbose=true
172+
```
173+
---
174+
175+
146176
## License
147177
[BSD 3](LICENSE)
148178

0 commit comments

Comments
 (0)