From 86900cf70d5f97254f5172d12cacf9fe243ce238 Mon Sep 17 00:00:00 2001 From: Sam Fre3side Date: Tue, 31 Mar 2020 23:17:11 +0300 Subject: [PATCH] Upload v2.2.1-2 to PyPI --- README.md | 20 +++++++++----------- usbrip/__init__.py | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index effa7ae..cfdf35d 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ ----------

- github-version.svg - pypi-version.svg + github-version.svg + pypi-version.svg python-version.svg license.svg blackarch-package.svg @@ -158,9 +158,7 @@ Or let the [`pipenv`](https://github.com/pypa/pipenv "pypa/pipenv: Python Develo After that you can run usbrip portably: ``` -(venv) ~/usbrip$ python -m usbrip -h -Or -(venv) ~/usbrip$ python __main__.py -h +(venv) ~/usbrip$ python -m usbrip --help ``` Installation @@ -176,7 +174,7 @@ First of all, usbrip is pip installable. This means that after git cloning the r ~/usbrip$ python3 -m venv venv && source venv/bin/activate (venv) ~/usbrip$ pip install . -(venv) ~/usbrip$ usbrip -h +(venv) ~/usbrip$ usbrip --help ``` Or if you want to resolve Python dependencies locally (without bothering PyPI), use `setup.py`: @@ -185,7 +183,7 @@ Or if you want to resolve Python dependencies locally (without bothering PyPI), ~/usbrip$ python3 -m venv venv && source venv/bin/activate (venv) ~/usbrip$ python setup.py install -(venv) ~/usbrip$ usbrip -h +(venv) ~/usbrip$ usbrip --help ``` :alien: **Note:** you'd likely want to run the installation process while the Python virtual environment is active (like it is shown above). @@ -210,7 +208,7 @@ To install usbrip use: ~/usbrip$ sudo -H installers/install.sh [-l/--local] [-s/--storages] ~/usbrip$ cd -~$ usbrip -h +~$ usbrip --help ``` * When `-l` switch is enabled, Python dependencies are resolved from local .tar packages (`./3rdPartyTools/`) instead of PyPI. @@ -309,19 +307,19 @@ Update (download) the USB ID database. To get a list of module names use: ``` -~$ usbrip -h +~$ usbrip --help ``` To get a list of submodule names for a specific module use: ``` -~$ usbrip -h +~$ usbrip --help ``` To get a list of all switches for a specific submodule use: ``` -~$ usbrip -h +~$ usbrip --help ``` Examples diff --git a/usbrip/__init__.py b/usbrip/__init__.py index 7b3f162..64d70d4 100644 --- a/usbrip/__init__.py +++ b/usbrip/__init__.py @@ -21,4 +21,4 @@ You should have received a copy of the GNU General Public License along with usbrip. If not, see . """ -__version__ = '2.2.1-1' +__version__ = '2.2.1-2'