<commit_before># Running OpenQuake Engine Lite on Windows
This page describes the steps necessary to run the development version of the OpenQuake Engine Lite (**oq-lite**), **oq-hazardlib** and **oq-risklib** on Windows. Installation on Windows is still experimental and provided 'as it is' with no warranty.

The supported way is using MiniGW and [Python(X,Y)](https://python-xy.github.io/) 2.7.9 on Windows 7 to 10. Python(X,Y) 2.7.10 is currently unsupported since it's unable to compile the Hazardlib speedups. 

## Install primary dependencies
First of all you need to have GIT installed. It can be downloaded from the [official GIT website](https://git-scm.com/download).

### Python(X,Y)
Download Python(X,Y) 2.7.9 from the University of Kent mirror and install it: http://www.mirrorservice.org/sites/pythonxy.com/Python(x,y)-2.7.9.0.exe
During the setup make sure you have selected also **Cython** and **GDAL** packages.

### Shapely
Shapely isn't provided by the main Python(X,Y) installer and needs to be downloaded and installed separately from http://sourceforge.net/projects/python-xy/files/plugins/shapely-1.5.9-7_py27.exe/download.

### Hazardlib speedups
To be able to compile the Hazardlib speedup (and then to install the Hazardlib) you'll need a **GCC** compiler. GCC is provided by the Python(X,Y) MinGW package. Download and install it from here http://sourceforge.net/projects/python-xy/files/plugins/mingw-4.8.1-3.exe/download.


## Clone the OpenQuake repos and install them

Clone the OpenQuake Hzardlib and Risklib repositories. In this example they will be cloned in a 'GEM' folder in the user home directory.
```bash
$ mkdir $HOME/GEM && cd $HOME/GEM
$ git clone --depth=1 https://github.com/gem/oq-hazardlib.git
$ git clone --depth=1 https://github.com/gem/oq-risklib.git
```
this example uses the Bash console provided by MinGW and the GIT windows packages. `cmd` can also be used (some commands may differ). The `--depth` flag will make a 'shallow clone', reducing the size of the downloaded files.<commit_msg>doc: minor fixes on Windows<commit_after># Running OpenQuake Engine Lite on Windows
This page describes the steps necessary to run the development version of the OpenQuake Engine Lite (**oq-lite**), **oq-hazardlib** and **oq-risklib** on Windows. Installation on Windows is still experimental and provided 'as it is' with no warranty.

The supported way is using MiniGW and [Python(X,Y)](https://python-xy.github.io/) 2.7.9 on Windows 7 to 10. Python(X,Y) 2.7.10 is currently unsupported since it's unable to compile the Hazardlib speedups. 

## Install primary dependencies
First of all you need to have GIT installed. It can be downloaded from the [official GIT website](https://git-scm.com/download).

### Python(X,Y)
Download Python(X,Y) 2.7.9 from the University of Kent mirror and install it: http://www.mirrorservice.org/sites/pythonxy.com/Python(x,y)-2.7.9.0.exe.

During the setup make sure you have selected also **Cython** and **GDAL** packages.

### Shapely
Shapely isn't provided by the main Python(X,Y) installer and needs to be downloaded and installed separately from http://sourceforge.net/projects/python-xy/files/plugins/shapely-1.5.9-7_py27.exe/download.

### Hazardlib speedups
To be able to compile the Hazardlib speedup (and then to install the Hazardlib) you'll need a **GCC** compiler. GCC is provided by the Python(X,Y) MinGW package. Download and install it from here http://sourceforge.net/projects/python-xy/files/plugins/mingw-4.8.1-3.exe/download.


## Clone the OpenQuake repos and install them

Clone the OpenQuake Hzardlib and Risklib repositories. In this example they will be cloned in a 'GEM' folder in the user home directory.
```bash
$ mkdir $HOME/GEM && cd $HOME/GEM
$ git clone --depth=1 https://github.com/gem/oq-hazardlib.git
$ git clone --depth=1 https://github.com/gem/oq-risklib.git
```
this example uses the Bash console provided by MinGW and the GIT windows packages. `cmd` can also be used (some commands may differ). The `--depth` flag will make a 'shallow clone', reducing the size of the downloaded files.
{'fraction_non_alphanumeric': 0.1054172767203514, 'fraction_numerical': 0.014153245485602733, 'mean_word_length': 4.443559096945551, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '122398', 'n_tokens_mistral': 1312, 'n_tokens_neox': 1210, 'n_words': 511}