From 364acf58bcdfaa86c8b3bbf5c9de969bea49b705 Mon Sep 17 00:00:00 2001 From: Cyprian Laskowski Date: Tue, 12 Jan 2021 11:21:25 +0100 Subject: [PATCH] IssueID #1487: simplified setup --- requirements.txt | 20 -------------------- scripts/setup.sh | 5 +++-- 2 files changed, 3 insertions(+), 22 deletions(-) delete mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index c008586..0000000 --- a/requirements.txt +++ /dev/null @@ -1,20 +0,0 @@ -certifi==2020.6.20 -cffi==1.14.2 -chardet==3.0.4 -classla==0.0.7 -future==0.18.2 -idna==2.10 -lxml==4.5.2 -numpy==1.19.1 -obeliks==1.0.2 -pkg-resources==0.0.0 -protobuf==3.13.0 -psycopg2cffi==2.8.1 -pycparser==2.20 -requests==2.24.0 -setuptools==39.0.1 -six==1.15.0 -SQLAlchemy==1.3.19 -torch==1.5.0 -tqdm==4.48.2 -urllib3==1.25.10 diff --git a/scripts/setup.sh b/scripts/setup.sh index 9cfe7cc..04d8fec 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -5,8 +5,9 @@ cd .. ## set up virtual environment python3 -m venv venv source venv/bin/activate -pip install wheel -pip install -r requirements.txt +pip install classla +pip install lxml +pip install obeliks python -c "import classla; classla.download('sl_ssj_jos')" <<< $'Y\nresources/classla' deactivate