<commit_before>#!/bin/bash

set -e

PREVIOUS_CWD=`pwd`

# Goto location of this script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR/../../"

# Install build deps
pip install -r requirements/build.txt

# Build .whl
make sdist
pip install dist/kolibri-*.whl

cd "$PREVIOUS_CWD"

exit 0<commit_msg>In travis tests: make sure we install npm deps before building the sdist.<commit_after>#!/bin/bash

set -e

PREVIOUS_CWD=`pwd`

# Goto location of this script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR/../../"

# Install build deps
pip install -r requirements/build.txt

# Build .whl
npm install
make sdist
pip install dist/kolibri-*.whl

cd "$PREVIOUS_CWD"

exit 0
{'fraction_non_alphanumeric': 0.15954415954415954, 'fraction_numerical': 0.005698005698005698, 'mean_word_length': 3.8819444444444446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5262330', 'n_tokens_mistral': 290, 'n_tokens_neox': 265, 'n_words': 81}