testing: Fix dependency issue with strongTNC

Apparently, djangorestframework-camel-case, in the referenced version,
uses `six` but does not itself require/install it (later versions removed
Python 2 support altogether).
This commit is contained in:
Tobias Brunner 2020-08-24 16:22:18 +02:00
parent 565f022b5a
commit 64148f046e
1 changed files with 3 additions and 2 deletions

View File

@ -15,8 +15,9 @@ $(PKG)-master: $(ZIP)
$(DEPS): $(PKG)-master
mkdir -p $(DEPS)
pip download -d $(DEPS) -r $(PKG)-master/requirements.txt
pip download -d $(DEPS) -r $(PKG)-master/requirements.txt six
install: $(DEPS)
pip install --no-index --find-links=file://`pwd`/$(DEPS) -r $(PKG)-master/requirements.txt
# six is required for djangorestframework-camel-case
pip install --no-index --find-links=file://`pwd`/$(DEPS) -r $(PKG)-master/requirements.txt six
cp -r $(PKG)-master /var/www/tnc && chgrp -R www-data /var/www/tnc && chmod g+sw /var/www/tnc