From 53c0bd411b35a8db28dbdff8792d912b22ee550e Mon Sep 17 00:00:00 2001 From: Michael Hadley Date: Fri, 15 May 2015 08:47:28 -0500 Subject: [PATCH 1/2] Updating windows installation instructions --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c09dc6c7..c7763cdb 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,8 @@ Scripts for building the web and pdf versions of the book are in `scripts/` dire ## Windows Installation of Dependencies 1. Download and install [Python 2.7+](https://www.python.org/) -2. Download and install [beauitful soup 4](http://www.crummy.com/software/BeautifulSoup/) (bs4) - - Method 1: - 1. Get the python package manager, [pip](https://pip.pypa.io/en/latest/installing.html). This involves downloading `get-pip.py` and running it from command line. - 2. Run `pip install beautifulsoup4` from the command line to install BeautifulSoup + - You will need the python package manager, [pip](https://pip.pypa.io/en/latest/installing.html). Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default, so you may have pip already. It is typically stored in `C:/PythonXX/Scripts`. To access it from command line, you will need to add the location of your `Scripts` folder to your path variable (see this [guide](http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path)). +2. Download and install [beauitful soup 4](http://www.crummy.com/software/BeautifulSoup/) (bs4). Run `pip install beautifulsoup4` from the command line to install BeautifulSoup - Alternate [installation methods](http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-beautiful-soup) for bs4 3. Download and install pandoc using the latest windows installer (.msi) from [here](https://github.com/jgm/pandoc/releases) 4. Download and install MiKTeX using the windows installer from [here](http://miktex.org/download) From 2314fe361134fee7a28a37aeaa8f425ee0ca9ba0 Mon Sep 17 00:00:00 2001 From: Michael Hadley Date: Fri, 15 May 2015 08:50:07 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c7763cdb..4b5d062c 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,13 @@ Scripts for building the web and pdf versions of the book are in `scripts/` dire ## Windows Installation of Dependencies 1. Download and install [Python 2.7+](https://www.python.org/) - - You will need the python package manager, [pip](https://pip.pypa.io/en/latest/installing.html). Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default, so you may have pip already. It is typically stored in `C:/PythonXX/Scripts`. To access it from command line, you will need to add the location of your `Scripts` folder to your path variable (see this [guide](http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path)). -2. Download and install [beauitful soup 4](http://www.crummy.com/software/BeautifulSoup/) (bs4). Run `pip install beautifulsoup4` from the command line to install BeautifulSoup - - Alternate [installation methods](http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-beautiful-soup) for bs4 +2. Get the necessary python libraries using the python package manager ([pip](https://pip.pypa.io/en/latest/installing.html)). + - Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default, so you may have pip already. It is typically stored in `C:/PythonXX/Scripts`. To access it from command line, you will need to add the location of your `Scripts` folder to your path variable (see this [guide](http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path)). + - Download and install [beauitful soup 4](http://www.crummy.com/software/BeautifulSoup/) (bs4). Run `pip install beautifulsoup4` from the command line to install BeautifulSoup. + - Download and install [libsass](https://github.com/dahlia/libsass-python): `pip install libsass` 3. Download and install pandoc using the latest windows installer (.msi) from [here](https://github.com/jgm/pandoc/releases) 4. Download and install MiKTeX using the windows installer from [here](http://miktex.org/download) - When installing, check the box for "Install Packages on the Fly." The pandoc -> PDF pipeline uses latex packages that don't all come standard with MiKTeX, so this will allow you to grab any missing packages when building the book for the first time. -5. Download and install [libsass](https://github.com/dahlia/libsass-python) - - Using pip: `pip install libsass` ## Debian (Linux) 1. install packages: ```sudo apt-get install python-pip python2.7-dev git pandoc ruby-sass texlive```