<commit_before># Planex

Scripts and libraries to build rpms

## Usage

This is an example run to demonstrate how you can build the software specified
in the planex-demo subdirectory

 * Change directory to planex-demo
```bash
cd planex-demo
```
 * Clone the repositories specified in the spec files
```bash
planex-clone
```
 * Configure
```bash
planex-configure
```
 * Build
```bash
make
```

## Installation

### Dependencies

#### Ubuntu 14.04

```bash
sudo apt-get -qy install python-rpm rpm
```

#### CentOS 6

 * Basic dependencies:

```bash
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
yum -y install git rpm-python rpm-build mock
```
 * Pip:
```bash
wget --no-check-certificate https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
pip install virtualenv
virtualenv --system-site-packages env
. env/bin/activate
pip install -r requirements.txt<commit_msg>Adding missing dependencies for installing planex<commit_after># Planex

Scripts and libraries to build rpms

## Usage

This is an example run to demonstrate how you can build the software specified
in the planex-demo subdirectory

 * Change directory to planex-demo
```bash
cd planex-demo
```
 * Clone the repositories specified in the spec files
```bash
planex-clone
```
 * Configure
```bash
planex-configure
```
 * Build
```bash
make
```

## Installation

### Dependencies

#### Ubuntu 14.04

```bash
sudo apt-get -qy install python-rpm python-setuptools python-argparse rpm
```

#### CentOS 6

 * Basic dependencies:

```bash
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
yum -y install git rpm-python rpm-build mock python-setuptools python-argparse
```
 * Pip:
```bash
wget --no-check-certificate https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
pip install virtualenv
virtualenv --system-site-packages env
. env/bin/activate
pip install -r requirements.txt
{'fraction_non_alphanumeric': 0.12698412698412698, 'fraction_numerical': 0.013888888888888888, 'mean_word_length': 4.171794871794872, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1576213', 'n_tokens_mistral': 763, 'n_tokens_neox': 662, 'n_words': 200}