From ed7f3103743da87b40ebeb0a9c82ce961454055d Mon Sep 17 00:00:00 2001 From: Lukasz Pszenny <lpszenny@hotmail.com> Date: Wed, 10 May 2023 12:47:46 +0200 Subject: [PATCH] Adding lambo to requirements --- setup.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup.py b/setup.py index 8dc8367..cabbf85 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,13 @@ """Setup.""" +import subprocess from setuptools import find_packages, setup +# Clone the lambo repository +subprocess.call(['git', 'clone', 'https://gitlab.clarin-pl.eu/syntactic-tools/lambo.git', '--depth', '1']) + +# Install lambo using pip +subprocess.call(['pip', 'install', './lambo']) + REQUIREMENTS = [ 'absl-py==0.9.0', 'allennlp==1.3.0', @@ -23,6 +30,7 @@ REQUIREMENTS = [ 'tqdm==4.43.0', 'transformers==4.0.1', 'urllib3==1.25.11', + "lambo" ] setup( -- GitLab