Makefile
This file
Path
Makefile
40 lines · 1.1 KiB
Last changed by
Update MakefileKenneth Reitzbefore adoption057722a
History of this fileTake 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 tests1011coverage:12 py.test --verbose --cov-report term --cov=requests tests1314ci: 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 --universal upload 32 rm -fr build dist .egg requests.egg-info333435docs-init:36 pip install -r docs/requirements.txt3738docs:39 cd docs && make html40 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"