/
niceSOFT
/
python3-requests
Обзор
Документация
Войти
/
niceSOFT
/
python3-requests
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v2.32.4
Makefile
30 строк
918 B
Ian Stapleton Cordasco
Polish up release tooling for last manual release
09 июн 2025, 19:39
09 июн 2025, 19:39
021dc72
Код
Авторство
О чём код?
.PHONY: docs init: python -m pip install -r requirements-dev.txt test: # This runs all of the tests on all supported Python versions. tox -p ci: python -m pytest tests --junitxml=report.xml test-readme: python setup.py check --restructuredtext --strict && ([ $$? -eq 0 ] && echo "README.rst and HISTORY.rst ok") || echo "Invalid markup in README.rst or HISTORY.rst!" flake8: python -m flake8 src/requests coverage: python -m pytest --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=src/requests tests .publishenv: python -m venv .publishenv .publishenv/bin/pip install 'twine>=1.5.0' build publish: .publishenv .publishenv/bin/python -m build .publishenv/bin/python twine upload --skip-existing dist/* rm -fr build dist .egg requests.egg-info docs: cd docs && make html @echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"