From 111f086bdd7b3a8c02b24d34b341ba44fb99cae7 Mon Sep 17 00:00:00 2001 From: jpic Date: Tue, 21 Apr 2020 21:54:39 +0200 Subject: [PATCH] Fix dependencies --- .gitlab-ci.yml | 4 ++-- setup.py | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ddc781..a0de8fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,13 +3,13 @@ build: key: cache paths: [.cache] image: yourlabs/shlax - script: pip install -U --user -e . && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py build + script: pip install -U --user -e .[cli] && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py build stage: build test: image: yourlabs/python stage: build - script: pip install -U --user -e . && py.test -sv tests + script: pip install -U --user -e .[test] && py.test -sv tests pypi: image: yourlabs/python diff --git a/setup.py b/setup.py index b15babf..1579178 100644 --- a/setup.py +++ b/setup.py @@ -5,10 +5,9 @@ setup( name='shlax', versioning='dev', setup_requires='setupmeta', - install_requires=['cli2'], extras_require=dict( - full=[ - 'pyyaml', + cli=[ + 'cli2', ], test=[ 'pytest',