Skip to content

Commit e68e40c

Browse files
Add venv to instructions.
1 parent f918618 commit e68e40c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,24 @@ Get IPv4 and IPv6 addresses of hostnames using [socket.getaddrinfo()](https://do
88

99
## Requirements
1010

11-
Python 3.8
11+
Python 3.8+
1212

1313
## Setup
1414

1515
```shell
16-
pip install -r requirements.txt
16+
python3 -m venv venv
17+
venv/bin/python3 -m pip install --upgrade pip
18+
venv/bin/python3 -m pip install -r requirements.txt
1719
```
1820

1921
## Testing
2022

2123
```shell
22-
pytest --cov --cov-report html
24+
venv/bin/python3 -m pytest --cov --cov-report html
2325
```
2426

2527
## Usage
2628

2729
```shell
28-
python main.py --input-file sample_urls.txt --output-file output.txt
30+
venv/bin/python3 main.py --input-file sample_urls.txt --output-file output.txt
2931
```

0 commit comments

Comments
 (0)