Update README.md (#168)

add pip instructions for Windows command prompt

---------

Signed-off-by: Elsie Hupp <github@elsiehupp.com>
Co-authored-by: Elsie Hupp <github@elsiehupp.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pull/475/head
Rob Kam 9 months ago committed by GitHub
parent 9c65c5a719
commit 530ca45069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -128,6 +128,23 @@ poetry update && poetry install && poetry build
pip install --force-reinstall dist/*.whl
```
<details>
<summary>For Windows Command Prompt, enter this pip command instead, (in a batch file use %%x instead).</summary>
```bash
for %x in (dist\*.whl) do pip install --force-reinstall %x
```
</details>
<details>
<summary>For Windows Powershell, enter this pip command instead.</summary>
```bash
pip install --force-reinstall (Get-ChildItem .\dist\*.whl).FullName
```
</details>
### 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
```
<details>
<summary>For Windows Command Prompt, enter this pip command instead, (in a batch file use %%x instead).</summary>
```bash
for %x in (dist\*.whl) do pip install --force-reinstall %x
```
<details>
<summary>For Windows Powershell, enter this pip command instead.</summary>
```bash
pip install --force-reinstall (Get-ChildItem .\dist\*.whl).FullName
```
</details>
### 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
```
<details>
<summary>For Windows Command Prompt, enter this pip command instead, (in a batch file use %%x instead).</summary>
```bash
for %x in (dist\*.whl) do pip install --force-reinstall %x
```
</details>
<details>
<summary>For Windows Powershell, enter this pip command instead.</summary>
```bash
pip install --force-reinstall (Get-ChildItem .\dist\*.whl).FullName
```
</details>
### 6. To run the test suite
To run the test suite, run:

Loading…
Cancel
Save