Fix dependencies

This commit is contained in:
jpic 2020-04-21 21:54:39 +02:00
parent 4601ead8f8
commit 111f086bdd
2 changed files with 4 additions and 5 deletions

View File

@ -3,13 +3,13 @@ build:
key: cache key: cache
paths: [.cache] paths: [.cache]
image: yourlabs/shlax 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 stage: build
test: test:
image: yourlabs/python image: yourlabs/python
stage: build stage: build
script: pip install -U --user -e . && py.test -sv tests script: pip install -U --user -e .[test] && py.test -sv tests
pypi: pypi:
image: yourlabs/python image: yourlabs/python

View File

@ -5,10 +5,9 @@ setup(
name='shlax', name='shlax',
versioning='dev', versioning='dev',
setup_requires='setupmeta', setup_requires='setupmeta',
install_requires=['cli2'],
extras_require=dict( extras_require=dict(
full=[ cli=[
'pyyaml', 'cli2',
], ],
test=[ test=[
'pytest', 'pytest',