Makefile
This file
Path
Makefile
59 lines · 1.6 KiB
Last changed by
let's see if this worksKenneth Reitzbefore adoptionc00783c
History of this fileTake it
1.PHONY: docs23init:4 pip install pipenv>=0.1.65 pipenv install --dev67test:8 # This runs all of the tests. To run an individual test, run py.test with9 # the -k flag, like "py.test -k test_path_is_not_double_encoded"10 pipenv run py.test tests1112coverage:13 pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests1415certs:16 curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem1718deps: urllib3 chardet idna1920urllib3:21 git clone https://github.com/shazow/urllib3.git && \22 rm -fr requests/packages/urllib3 && \23 cd urllib3 && \24 git checkout `git describe --abbrev=0 --tags` && \25 cd .. && \26 mv urllib3/urllib3 requests/packages/ \27 && rm -fr urllib32829chardet:30 git clone https://github.com/chardet/chardet.git && \31 rm -fr requests/packages/chardet && \32 cd chardet && \33 git checkout `git describe --abbrev=0 --tags` && \34 cd .. && \35 mv chardet/chardet requests/packages/ && \36 rm -fr chardet3738idna:39 git clone https://github.com/kjd/idna.git && \40 rm -fr requests/packages/idna && \41 cd idna && \42 git checkout `git describe --abbrev=0 --tags` && \43 cd .. && \44 mv idna/idna requests/packages/ && \45 rm -fr idna4647publish:48 python setup.py register49 python setup.py sdist upload50 python setup.py bdist_wheel --universal upload51 rm -fr build dist .egg requests.egg-info525354docs-init:55 pip install -r docs/requirements.txt5657docs:58 cd docs && make html59 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"