diff --git a/README.md b/README.md index aeaf5d0..d496534 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +[![Downloads](https://img.shields.io/pypi/dw/wdpass.svg)](https://pypi.org/project/wdpass/) +[![Published Version](https://img.shields.io/pypi/v/wdpass.svg)](https://pypi.org/project/wdpass/) +![GitHub Release](https://img.shields.io/github/release/7aman/wdpass.svg?label=repo%20version) +[![License: MIT](https://img.shields.io/github/license/7aman/wdpass.svg)](https://github.com/7aman/wdpass/blob/main/LICENSE) + # wdpass WD Passport Ultra Complete Utilities for Linux. @@ -35,7 +40,7 @@ For example on Ubuntu: ```shell sudo apt install lsscsi python3-dev sudo python3 -m pip install https://github.com/tvladyslav/py3_sg/archive/master.zip -sudo python3 -m pip install https://github.com/7aman/wdpass/archive/master.zip +sudo python3 -m pip install https://github.com/7aman/wdpass/archive/main.zip ``` ## Usage diff --git a/cspell.json b/cspell.json index 838265d..4b36cc4 100644 --- a/cspell.json +++ b/cspell.json @@ -4,6 +4,7 @@ "dictionaryDefinitions": [], "dictionaries": [], "words": [ + "bdist", "derekhe", "devel", "distro", @@ -12,6 +13,8 @@ "htonl", "htons", "pwblen", + "sdist", + "setuptools", "tvladyslav", "Unlocker", "urandom", diff --git a/notes.md b/notes.md new file mode 100644 index 0000000..63cc058 --- /dev/null +++ b/notes.md @@ -0,0 +1,21 @@ +# Notes + +## Release + +```shell +python3 -m pip install twine setuptools +python3 setup.py sdist bdist_wheel + +# test upload +python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* + +# test install +python3 -m pip install --user --index-url https://test.pypi.org/simple/ wdpass +# or specify the version +python3 -m pip install --user --index-url https://test.pypi.org/simple/ wdpass==0.1.0 + + +# real upload +python3 -m twine upload dist/* + +```