From 20a37fc98a66553fff45a0523b1b663d6e22dca3 Mon Sep 17 00:00:00 2001 From: Sean Roberts Date: Sun, 23 Jul 2017 14:48:38 +0100 Subject: [PATCH] requirements.txt file and note to use homebrew --- README.md | 5 ++--- requirements.txt | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index d7a4daa..405c174 100644 --- a/README.md +++ b/README.md @@ -43,14 +43,13 @@ Python 2 is required along with Selenium, Requests, ChromeDriver, and Google Chrome. ``` -pip install requests # use "easy_install" if pip is missing - -pip install selenium +pip install -r requirements.txt # use "easy_install" if pip is not available ``` Download and extract the correct ChromeDriver zip file [from here](https://sites.google.com/a/chromium.org/chromedriver/downloads) to this folder. + - On macOS, it is available with HomeBrew: `brew install chromedriver && ln -s /usr/local/bin/chromedriver` Download Google Chrome from https://www.google.com/chrome/ and install it on your computer. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a2ca48c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +requests +selenium