diff --git a/setup.py b/setup.py index 8dc83678d24cbe7932a01b0a7b319773fe87d481..cabbf85af5ba4ff7de38aa407016135c609f7ae5 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(