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:
|
|
|
|
-mypy --ignore-missing-imports --python-version 3.6 .
|
2019-01-25 04:28:27 +00:00
|
|
|
pylint --rcfile .pylint aioitertools setup.py
|
|
|
|
black --check aioitertools setup.py
|
2018-06-27 02:56:33 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
python3 -m unittest -v aioitertools.tests
|
|
|
|
|
|
|
|
clean:
|
2019-03-31 18:27:23 +00:00
|
|
|
rm -rf build dist README MANIFEST *.egg-info
|