1# Optional Makefile for easier development 2 3VERSION = $(shell cat VERSION) 4 5PYTHON = python 6PIP = $(PYTHON) -m pip -v 7 8 9build: 10 $(PYTHON) setup.py build 11 12install: 13 $(PIP) install --no-index --upgrade . 14 15check: 16 ulimit -s 8192; $(PYTHON) -u tests/rundoctest.py 17 ulimit -s 8192; $(PYTHON) tests/test_integers.py 18 ulimit -s 8192; $(PYTHON) tests/test_backward.py 19 20dist: 21 chmod go+rX-w -R . 22 umask 0022 && $(PYTHON) setup.py sdist --formats=gztar 23 24 25.PHONY: build install check dist 26