aioitertools/makefile

32 lines
620 B
Makefile
Raw Normal View History

2018-06-27 02:56:33 +00:00
build:
python3 setup.py build
dev:
python3 setup.py develop
setup:
pip3 install -U black mypy pylint twine
venv:
2019-01-25 04:21:56 +00:00
python3 -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
python3 setup.py sdist
python3 -m twine upload dist/*
black:
black aioitertools setup.py
lint:
black --check aioitertools setup.py
pylint --rcfile .pylint aioitertools setup.py
-mypy --ignore-missing-imports --python-version 3.6 .
test:
python3 -m unittest -v aioitertools.tests
clean:
rm -rf build dist README MANIFEST .venv *.egg-info