aioitertools/makefile

35 lines
780 B
Makefile
Raw Normal View History

2018-06-27 02:56:33 +00:00
build:
python setup.py build
2018-06-27 02:56:33 +00:00
dev:
python setup.py develop
2018-06-27 02:56:33 +00:00
setup:
python -m pip install -Ur requirements-dev.txt
2018-06-27 02:56:33 +00:00
venv:
python -m venv .venv
2018-06-27 02:56:33 +00:00
source .venv/bin/activate && make setup dev
echo 'run `source .venv/bin/activate` to use virtualenv'
release: lint test clean
2019-11-13 05:17:37 +00:00
python setup.py sdist bdist_wheel
python -m twine upload dist/*
2018-06-27 02:56:33 +00:00
format:
python -m isort --apply --recursive aioitertools setup.py
python -m black aioitertools setup.py
2018-06-27 02:56:33 +00:00
lint:
python -m pylint --rcfile .pylint aioitertools setup.py
python -m isort --diff --recursive aioitertools setup.py
python -m black --check aioitertools setup.py
2018-06-27 02:56:33 +00:00
test:
python -m coverage run -m aioitertools.tests
python -m coverage report
python -m mypy aioitertools
2018-06-27 02:56:33 +00:00
clean:
2019-03-31 18:27:23 +00:00
rm -rf build dist README MANIFEST *.egg-info