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:
@@ -15,8 +15,9 @@ $(PKG)-master: $(ZIP)
|
|||||||
|
|
||||||
$(DEPS): $(PKG)-master
|
$(DEPS): $(PKG)-master
|
||||||
mkdir -p $(DEPS)
|
mkdir -p $(DEPS)
|
||||||
pip download -d $(DEPS) -r $(PKG)-master/requirements.txt
|
pip download -d $(DEPS) -r $(PKG)-master/requirements.txt six
|
||||||
|
|
||||||
install: $(DEPS)
|
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
|
cp -r $(PKG)-master /var/www/tnc && chgrp -R www-data /var/www/tnc && chmod g+sw /var/www/tnc
|
||||||
|
|||||||
Reference in New Issue
Block a user