Makefile
This file
Path
Makefile
30 lines · 835 bytes
Last changed by
Merge pull request #4067 from kennethreitz/depsKenneth Reitzbefore adoptiona6c3a0c
History of this fileTake it
1.PHONY: docs23init:4 pip install pipenv5 pipenv install --dev6 pipenv run pip install -e .[socks]78test: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 tests1213test-readme:14 pipenv run python setup.py check -r -s1516coverage:17 pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests1819certs:20 curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem2122publish:23 pip install 'twine>=1.5.0'24 python setup.py sdist bdist_wheel25 twine upload dist/*26 rm -fr build dist .egg requests.egg-info2728docs:29 cd docs && make html30 @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"