#######################################################################################
[testenv:pip-compile]
deps = pip-tools==5.5.0
+skip_install = true
commands =
- - sh -c 'for file in requirements*.in ; do pip-compile -rU --no-header $file ;\
- out=`echo $file | sed "s/.in/.txt/"` ; \
- head -16 tox.ini >> $out ;\
- done'
+ - sh -c "for file in requirements*.in ; do pip-compile -rU --no-header $file ;\
+ out=`echo $file | sed 's/.in/.txt/'` ; \
+ sed -i -e '1 e head -16 tox.ini' $out ;\
+ done"
whitelist_externals = sh