forked from psf/requests
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
41 lines (29 loc) · 819 Bytes
/
Makefile
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
33
34
35
36
37
38
39
40
41
SHELL := /bin/bash
init:
python setup.py develop
pip install -r requirements.txt
test:
nosetests ./tests/*
lazy:
nosetests --with-color tests/test_requests.py
simple:
nosetests tests/test_requests.py
server:
gunicorn httpbin:app --bind=0.0.0.0:7077 &
ci: init
nosetests tests/test_requests.py --with-xunit --xunit-file=junit-report.xml
simpleci:
nosetests tests/test_requests.py --with-xunit --xunit-file=junit-report.xml
stats:
pyflakes requests | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' > violations.pyflakes.txt
site:
cd docs; make dirhtml
pyc:
find . -name "*.pyc" -exec rm '{}' ';'
deps:
rm -fr requests/packages/urllib3
git clone https://github.com/shazow/urllib3.git
cd urllib3 && git checkout release && cd ..
mv urllib3/urllib3 requests/packages/
rm -fr urllib3
docs: site