summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3518073849a40bc2a6f8e7d3fb7c89b15f7302b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
EZ = bin/easy_install
VIRTUALENV = virtualenv
PYTHON = bin/python
HG = hg
NOSE = bin/nosetests --with-xunit -s
TESTS = distutils2/tests

.PHONY: release build

build:
	$(VIRTUALENV) --no-site-packages --distribute .
	$(PYTHON) setup.py build

release:
	hg tag -f `python setup.py --version`
	cd docs; make html
	$(PYTHON) -m distutils2.run upload_docs
	$(PYTHON) setup.py register sdist upload

test:
	$(NOSE) $(TESTS)