mass-scraper/scraper/prepare-environment.sh
Dawid Jurkiewicz 8b72d0b351 Prototype rule based masses extractor.
Added spider.
Started working on testsets.
2018-03-01 14:40:13 +01:00

11 lines
282 B
Bash
Executable File

#!/usr/bin/env bash
if conda info --envs | grep -q "polish-masses"; then
(>&2 echo "Environment exist. Ready to process.")
else
(>&2 conda env create -f environment.yml)
fi
source activate polish-masses
export PYTHONIOENCODING=utf8
env | sed 's/=/:=/' | sed 's/^/export /'