Skip to content
Myr

Makefile

This file

Path

Makefile

39 lines · 1.1 KiB

Last changed by

Merge pull request #2289 from syedsuhail/fix-2288Cory Benfieldbefore adoptione1e1855

History of this file

Take it

1.PHONY: docs23init:4	pip install -r requirements.txt56test:7	# This runs all of the tests. To run an individual test, run py.test with8	# the -k flag, like "py.test -k test_path_is_not_double_encoded"9	py.test test_requests.py1011coverage:12	py.test --verbose --cov-report term --cov=requests test_requests.py1314ci: init15	py.test --junitxml=junit.xml1617certs:18	curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem1920deps: urllib3 chardet2122urllib3:23	git clone https://github.com/shazow/urllib3.git && rm -fr requests/packages/urllib3 && 	mv urllib3/urllib3 requests/packages/ && rm -fr urllib32425chardet:26	git clone https://github.com/chardet/chardet.git && rm -fr requests/packages/chardet &&	mv chardet/chardet requests/packages/ && rm -fr chardet2728publish:29	python setup.py register30	python setup.py sdist upload31	python setup.py bdist_wheel upload323334docs-init:35	pip install -r docs/requirements.txt3637docs:38	cd docs && make html39	@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"