No Description

Makefile 1.2KB

    # Makefile for KISS Python Module. # # Source:: https://github.com/ampledata/kiss # Author:: Greg Albrecht W2GMD <oss@undef.net> # Copyright:: Copyright 2017 Greg Albrecht and Contributors # License:: Apache License, Version 2.0 # .DEFAULT_GOAL := all all: develop install_requirements: pip install -r requirements.txt develop: remember python setup.py develop install: remember python setup.py install uninstall: pip uninstall -y kiss reinstall: uninstall install remember: @echo @echo "Hello from the Makefile..." @echo "Don't forget to run: 'make install_requirements'" @echo clean: @rm -rf *.egg* build dist *.py[oc] */*.py[co] cover doctest_pypi.cfg \ nosetests.xml pylint.log output.xml flake8.log tests.log \ test-result.xml htmlcov fab.log .coverage publish: python setup.py register sdist upload nosetests: remember python setup.py nosetests pep8: remember flake8 --max-complexity 12 --exit-zero kiss/*.py tests/*.py flake8: pep8 lint: remember pylint --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \ -r n --ignore-imports=y kiss/*.py tests/*.py || exit 0 pylint: lint coverage: coverage report -m test: lint pep8 nosetests coverage