view Makefile @ 150:b94e1263836c

util: introduce strtobytes() (issue4520) The strtobytes() function takes an object, gets its string representation, and then convert that to bytes.
author Brett Cannon <brett@python.org>
date Thu, 19 Mar 2015 17:42:26 -0400
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