Makefile
This file
Path
Makefile
57 lines · 1.6 KiB
Last changed by
Merge pull request #3862 from mattkohl/masterCory Benfieldbefore adoptionad65b0c
History of this fileTake it
1.PHONY: docs23init:4 pip install pipenv5 pipenv lock6 pipenv install --dev78test:9 # This runs all of the tests. To run an individual test, run py.test with10 # the -k flag, like "py.test -k test_path_is_not_double_encoded"11 pipenv run py.test tests1213coverage:14 pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests1516certs:17 curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem1819deps: urllib3 chardet idna2021urllib3:22 git clone -b release https://github.com/shazow/urllib3.git && \23 rm -fr requests/packages/urllib3 && \24 cd urllib3 && \25 git checkout `git describe --abbrev=0 --tags` && \26 cd .. && \27 mv urllib3/urllib3 requests/packages/ \28 && rm -fr urllib32930chardet:31 git clone https://github.com/chardet/chardet.git && \32 rm -fr requests/packages/chardet && \33 cd chardet && \34 git checkout `git describe --abbrev=0 --tags` && \35 cd .. && \36 mv chardet/chardet requests/packages/ && \37 rm -fr chardet3839idna:40 git clone https://github.com/kjd/idna.git && \41 rm -fr requests/packages/idna && \42 cd idna && \43 git checkout `git describe --abbrev=0 --tags` && \44 cd .. && \45 mv idna/idna requests/packages/ && \46 rm -fr idna4748publish:49 pip install 'twine>=1.5.0'50 python setup.py sdist51 python setup.py bdist_wheel --universal52 twine upload dist/*53 rm -fr build dist .egg requests.egg-info5455docs:56 cd docs && make html57 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"