Skip to content

Commit 466d00f

Browse files
authored
doc: update pip install methods to include one-liner for latest code
1 parent 4517bdf commit 466d00f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,24 @@ Python 3.7+ is supported. An unsupported Python 2 version exists as [pyshark-leg
1919
Supports all modern versions of tshark / wireshark but certain features may be unavailable on older versions.
2020

2121
### All Platforms
22-
Simply run the following to install the latest from pypi
22+
23+
Simply run the following to install the latest from [PyPI](https://pypi.org/project/pyshark/):
2324
```bash
2425
pip install pyshark
2526
```
2627

27-
Or install from the git repository:
28+
To install the latest from GitHub:
29+
```
30+
pip install pip install https://github.com/KimiNewt/pyshark/archive/refs/heads/master.zip#subdirectory=src
31+
```
32+
33+
Or install from the git repository for local development:
2834
```bash
2935
git clone https://github.com/KimiNewt/pyshark.git
3036
cd pyshark/src
31-
python setup.py install
37+
pip install -e .
3238
```
3339

34-
3540
### Mac OS X
3641
You may have to install libxml which can be unexpected. If you receive an error from clang or an error message about libxml, run the following:
3742
```bash

0 commit comments

Comments
 (0)