view Makefile @ 190:f38bc0569671

client: don't swallow ResponseError inside open() _readhello() can generate meaningful ResponseError exceptions. However, open()'s exception handler swallows these, converting them into generic ServerErrors. Allow the original ResponseErrors to pass through.
author Gábor Stefanik <gabor.stefanik@nng.com>
date Mon, 21 Aug 2017 17:06:13 +0200
parents 5484cfdc2d59
children b8edcb693518
line wrap: on
line source

PYTHON=python
help:
	@echo 'Commonly used make targets:'
	@echo '  tests - run all tests in the automatic test suite'

all: help

.PHONY: tests

MANIFEST.in:
	hg manifest | sed -e 's/^/include /' > MANIFEST.in

dist: MANIFEST.in
	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist

tests:
	$(PYTHON) test.py --with-doctest