Deletion of python 2 reference in the readme_template.md
authorfunilrys <redacted>
Thu, 26 Jul 2018 20:26:07 +0000 (22:26 +0200)
committerSteven Black <redacted>
Thu, 6 Sep 2018 03:51:27 +0000 (23:51 -0400)
This patch is related to https://github.com/StevenBlack/hosts/issues/729

readme_template.md

index 5d7f3ae07d0c49055942dd20d903b0a1288d4421..9d229928fa4fe56f0002e774096ce80ae8fb8800 100644 (file)
@@ -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.
git clone https://git.99rst.org/PROJECT