mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
26 lines
505 B
Makefile
26 lines
505 B
Makefile
init:
|
|
pip install -r requirements.txt
|
|
|
|
test:
|
|
nosetests --with-color test_requests.py
|
|
|
|
ci: init
|
|
nosetests 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
|
|
mv urllib3/urllib3 requests/packages/
|
|
rm -fr urllib3
|
|
|
|
docs: site
|