From d93e67db63b921b46bc04d8385ed561b32fc652e Mon Sep 17 00:00:00 2001 From: funilrys Date: Thu, 26 Jul 2018 22:26:07 +0200 Subject: [PATCH] Deletion of python 2 reference in the readme_template.md This patch is related to https://github.com/StevenBlack/hosts/issues/729 --- readme_template.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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.