Skip to content
Myr

Makefile

This file

Path

Makefile

28 lines · 873 bytes

Last changed by

Merge pull request #4295 from requests/pipenvKenneth Reitzbefore adoptioncda429a

History of this file

Take it

1.PHONY: docs2init:3	pip install pipenv --upgrade4	pipenv install --dev --skip-lock5test:6	# This runs all of the tests, on both Python 2 and Python 3.7	detox8ci:9	pipenv run py.test -n 8 --boxed --junitxml=report.xml1011test-readme:12	@pipenv run python setup.py check --restructuredtext --strict && ([ $$? -eq 0 ] && echo "README.rst and HISTORY.rst ok") || echo "Invalid markup in README.rst or HISTORY.rst!"1314flake8:15	pipenv run flake8 --ignore=E501,F401,E128,E402,E731,F821 requests1617coverage:18	pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests1920publish:21	pip install 'twine>=1.5.0'22	python setup.py sdist bdist_wheel23	twine upload dist/*24	rm -fr build dist .egg requests.egg-info2526docs:27	cd docs && make html28	@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"