Skip to content

Commit

Permalink
Update readme to install the latest version manually
Browse files Browse the repository at this point in the history
  • Loading branch information
7aman committed Apr 20, 2022
1 parent 7330684 commit 910a97f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,27 @@ This script let you unlock, change password and erase Western Digital Passport d

## Install

### Install Dependencies:
- `lsscsi` package or any package provides `lsscsi` command.
- `<Python.h>` header file in libraries. (`python3-dev` or `python3-devel` package)
### Install the latest version manually

For example on Fedora:
- Install `lsscsi` package or any package that provides `lsscsi` command.
- Provide `<Python.h>` header file by installing Python Developer Package. (usually `python3-dev` or `python3-devel`)
- Install the latest py3_sg from [py3_sg](https://github.com/crypto-universe/py3_sg)
- And finally install `wdpass` from this repository.

For example on Ubuntu:

```shell
sudo dnf install lsscsi python3-devel
sudo apt install lsscsi python3-dev
sudo python3 -m pip install https://github.com/crypto-universe/py3_sg/archive/master.zip
sudo python3 -m pip install https://github.com/7aman/wdpass/archive/master.zip
```

### Install `wdpass`
### Install an old version from PyPi

PyPi package is currently pointed to the latest version but it works for most cases.

```shell
sudo python3 -m pip install wdpass
sudo python3 -m pip install wdpass==0.0.3
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
entry_points={
'console_scripts': ['wdpass=wdpass:main'],
},
install_requires=["py3_sg >= 0.0.3"],
install_requires=["py_sg >= 0.14"],
python_requires='>=3.6',
zip_safe=False,
keywords='HDD WD MyPassport Unlocker WesternDigital',
Expand Down
2 changes: 1 addition & 1 deletion wdpass/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.4'
__version__ = '0.0.5'

0 comments on commit 910a97f

Please sign in to comment.