Merge pull request #245 from MichaIng/patch-1

Assure that setuptools <45 is installed
pull/248/head
JR Conlin 4 years ago committed by GitHub
commit bfbc3abd36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,8 +24,10 @@ all: build
.PHONY: build
build: | $(ENV)/COMPLETE
$(ENV)/COMPLETE: requirements.txt
$(VIRTUALENV) $(ENV)
$(INSTALL) -i https://pypi.python.org/simple -U pip
# Install the latest Python 2 compatible setuptools manually:
# https://github.com/mozilla-services/syncserver/issues/239
$(VIRTUALENV) $(ENV) --no-setuptools
$(INSTALL) -U "setuptools<45"
$(INSTALL) -r requirements.txt
$(ENV)/bin/python ./setup.py develop
touch $(ENV)/COMPLETE
@ -36,7 +38,7 @@ test: | $(TOOLS)
$(ENV)/bin/nosetests -s syncstorage.tests
# Tokenserver tests currently broken due to incorrect file paths
# $(ENV)/bin/nosetests -s tokenserver.tests
# Test against a running server.
$(ENV)/bin/gunicorn --paste syncserver/tests.ini 2> /dev/null & SERVER_PID=$$!; \
sleep 2; \

Loading…
Cancel
Save