File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11* .pyc
2+ * .egg-info
23build
34dist
4- readability_lxml.egg-info
5+ /bin
6+ /include
7+ /lib
8+ /local
9+ /man
10+ nosetests.xml
11+ .coverage
Original file line number Diff line number Diff line change 1+ # Makefile to help automate tasks
2+ WD := $(shell pwd)
3+ PY := bin/python
4+ PIP := bin/pip
5+ PEP8 := bin/pep8
6+ NOSE := bin/nosetests
7+
8+
9+ # ###########
10+ # Tests rule!
11+ # ###########
12+ .PHONY : test
13+ test : venv develop $(NOSE )
14+ $(NOSE ) --with-id -s tests
15+
16+ $(NOSE ) :
17+ $(PIP ) install nose pep8 coverage
18+
19+ # #######
20+ # INSTALL
21+ # #######
22+ .PHONY : all
23+ all : venv develop
24+
25+ venv : bin/python
26+ bin/python :
27+ virtualenv .
28+
29+ .PHONY : clean_venv
30+ clean_venv :
31+ rm -rf bin include lib local man
32+
33+ develop : lib/python* /site-packages/bookie-api.egg-link
34+ lib/python*/site-packages/bookie-api.egg-link :
35+ $(PY ) setup.py develop
36+
37+
38+ # ###########
39+ # Development
40+ # ###########
41+ .PHONY : clean_all
42+ clean_all : clean_venv
43+
44+
45+ # ###########
46+ # Deploy
47+ # ###########
48+ .PHONY : dist
49+ dist :
50+ $(PY ) setup.py sdist
51+
52+ .PHONY : upload
53+ upload :
54+ $(PY ) setup.py sdist upload
55+
56+ .PHONY : version_update
57+ version_update :
58+ $(EDITOR ) setup.py
You can’t perform that action at this time.
0 commit comments