<commit_before>#!/bin/bash
#
# CDR-Stats License
# http://www.cdr-stats.org
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (C) 2011-2013 Star2Billing S.L.
#
# The Initial Developer of the Original Code is
# <NAME> <<EMAIL>>
#

echo "Install Basic requirements..."
for line in $(cat install/requirements/basic-requirements.txt | grep -v \#)
do
    pip install $line --use-mirrors
done

echo "Install Mysql requirements..."
for line in $(cat install/requirements/mysql-requirements.txt | grep -v \#)
do
    pip install $line --use-mirrors
done

echo "Install Django requirements..."
for line in $(cat install/requirements/django-requirements.txt | grep -v \#)
do
    pip install $line --use-mirrors
done

echo "Install Dev requirements..."
for line in $(cat install/requirements/dev-requirements.txt | grep -v \#)<commit_msg>fix for travis<commit_after>#!/bin/bash
#
# CDR-Stats License
# http://www.cdr-stats.org
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (C) 2011-2013 Star2Billing S.L.
#
# The Initial Developer of the Original Code is
# <NAME> <<EMAIL>>
#

echo "Install Basic requirements..."
for line in $(cat install/requirements/basic-requirements.txt | grep -v \#)
do
    pip install $line --use-mirrors
done

echo "Install Mysql requirements..."
for line in $(cat install/requirements/mysql-requirements.txt | grep -v \#)
do
    pip install $line --use-mirrors
done

echo "Install Django requirements..."
for line in $(cat install/requirements/django-requirements.txt | grep -v \#)
do
    pip install $line --use-mirrors --allow-all-external --allow-unverified django-admin-tools
done

echo "Install Dev requirements..."
for line in $(cat install/requirements/dev-requirements.txt | grep -v \#)
{'fraction_non_alphanumeric': 0.1297747306562194, 'fraction_numerical': 0.012732615083251714, 'mean_word_length': 3.529933481152993, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3390666', 'n_tokens_mistral': 681, 'n_tokens_neox': 631, 'n_words': 235}