From 530ca45069b6941aa35b557a9eee1f95c238dc67 Mon Sep 17 00:00:00 2001 From: Rob Kam Date: Mon, 21 Aug 2023 15:25:28 +0100 Subject: [PATCH] Update README.md (#168) add pip instructions for Windows command prompt --------- Signed-off-by: Elsie Hupp Co-authored-by: Elsie Hupp Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- README.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/README.md b/README.md index 3d37f90..99ad4c4 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,23 @@ poetry update && poetry install && poetry build pip install --force-reinstall dist/*.whl ``` +
+For Windows Command Prompt, enter this pip command instead, (in a batch file use %%x instead). + +```bash +for %x in (dist\*.whl) do pip install --force-reinstall %x +``` + +
+
+For Windows Powershell, enter this pip command instead. + +```bash +pip install --force-reinstall (Get-ChildItem .\dist\*.whl).FullName +``` + +
+ ### 2. Running `dumpgenerator` for whatever purpose you need ```bash @@ -160,6 +177,22 @@ poetry update && poetry install && poetry build pip install --force-reinstall dist/*.whl ``` +
+For Windows Command Prompt, enter this pip command instead, (in a batch file use %%x instead). + +```bash +for %x in (dist\*.whl) do pip install --force-reinstall %x +``` + +
+For Windows Powershell, enter this pip command instead. + +```bash +pip install --force-reinstall (Get-ChildItem .\dist\*.whl).FullName +``` + +
+ ### 5. Manually build and install `MediaWiki Scraper` If you'd like to manually build and install `MediaWiki Scraper` from a cloned or downloaded copy of this repository, run the following commands from the downloaded base directory: @@ -176,6 +209,23 @@ poetry update && poetry install && poetry build pip install --force-reinstall dist/*.whl ``` +
+For Windows Command Prompt, enter this pip command instead, (in a batch file use %%x instead). + +```bash +for %x in (dist\*.whl) do pip install --force-reinstall %x +``` + +
+
+For Windows Powershell, enter this pip command instead. + +```bash +pip install --force-reinstall (Get-ChildItem .\dist\*.whl).FullName +``` + +
+ ### 6. To run the test suite To run the test suite, run: