File: Makefile

package info (click to toggle)
python-sockjs-tornado 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 360 kB
  • ctags: 383
  • sloc: python: 1,516; makefile: 30
file content (27 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (2)
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
PYTHON=python

#### General

all:
	$(PYTHON) setup.py build

clean:
	rm -rf venv
	find . -name \*.pyc | xargs --no-run-if-empty rm

#### Dependencies

test_deps: venv/.test_deps

venv:
	virtualenv venv
	-rm distribute-*.tar.gz || true

venv/.test_deps: venv
	./venv/bin/pip install tornado
	touch venv/.test_deps

#### Development

test_server: test_deps
	PYTHONPATH=$(PWD) ./venv/bin/python examples/test/test.py