forked from circus-tent/circus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 719 Bytes
/
Makefile
File metadata and controls
32 lines (23 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: docs build test coverage build_rpm
ifndef VTENV_OPTS
VTENV_OPTS = "--no-site-packages"
endif
build:
virtualenv $(VTENV_OPTS) .
bin/python setup.py develop
test: bin/nosetests
bin/nosetests -s circus
coverage: bin/coverage
bin/nosetests --with-coverage --cover-html --cover-html-dir=html --cover-package=circus
docs: bin/sphinx-build
SPHINXBUILD=../bin/sphinx-build $(MAKE) -C docs html $^
bin/sphinx-build: bin/python
bin/pip install sphinx
bin/pip install coverage
bin/nosetests: bin/python
bin/pip install nose
bin/pip install WebTest
bin/coverage: bin/python
bin/pip install coverage
build_rpm:
bin/python setup.py bdist_rpm --requires "python26 python-setuptools pyzmq python26-psutil"