From 41bc3f86bd6cfd1754a181bc76840d50210f2ffe Mon Sep 17 00:00:00 2001 From: Dev Vasudevan Date: Sat, 8 Mar 2025 02:10:09 +0530 Subject: [PATCH] Updated Installation Steps in README.md The readme file had deprecated setup.py files which do not work in the latest edition of windows due to a lock on rewriting pyd files --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 85cf84db..7ef732fa 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,15 @@ conda activate pyds-env You can install the library by running the following command, -```python -python scripts/build/install.py +```bash +python -m build --wheel --no-isolation +python -m installer dist/*.whl ``` -For development purposes i.e., if you intend to be a contributor, - -```python -python scripts/build/develop.py +For development purposes i.e., +If you intend to contribute to the project, you can install the library in editable mode using PEP 660-compatible tools. This allows changes to the source code to reflect immediately without needing to rebuild. +```bash +pip install --editable . --config-settings editable_mode=compat ``` Make sure you change your working directory to `pydatastructs` before executing any of the above commands. Also, your python version should be at least `3.8`.