From: funilrys Date: Thu, 26 Jul 2018 20:26:07 +0000 (+0200) Subject: Deletion of python 2 reference in the readme_template.md X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d93e67db63b921b46bc04d8385ed561b32fc652e;p=stevenblack-hosts.git Deletion of python 2 reference in the readme_template.md This patch is related to https://github.com/StevenBlack/hosts/issues/729 --- diff --git a/readme_template.md b/readme_template.md index 5d7f3ae07..9d229928f 100644 --- a/readme_template.md +++ b/readme_template.md @@ -67,17 +67,13 @@ Data for extensions is stored in the [`extensions`](https://github.com/StevenBla pip3 install --user -r requirements.txt -**Note** if you are using Python 2, please install the dependencies with: - - pip2 install --user -r requirements_python2.txt - **Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user). To run unit tests, in the top level directory, just run: - python testUpdateHostsFile.py + python3 testUpdateHostsFile.py -The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible, +The `updateHostsFile.py` script, which is only Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you whether it should fetch updated versions (from locations defined by the `update.json` text file in each @@ -89,10 +85,6 @@ source's folder). Otherwise, it will use the `hosts` file that's already there. python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3] -#### Using Python 2.7: - - python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3] - #### Command line options: `--help`, or `-h`: display help.