2019-05-12 13:58:14 +00:00
|
|
|
# This `Makefile` is intended for Cowrie developers.
|
2019-05-04 16:34:16 +00:00
|
|
|
|
|
|
|
# Dummy target `all`
|
|
|
|
all:
|
|
|
|
|
|
|
|
# Note --aplication-import-names only works on Python3
|
2019-05-12 14:20:30 +00:00
|
|
|
|
2019-05-12 13:58:14 +00:00
|
|
|
test: lint
|
2019-05-04 16:34:16 +00:00
|
|
|
PYTHONPATH=src trial cowrie
|
|
|
|
|
|
|
|
build:
|
|
|
|
python setup.py build sdist bdist
|
|
|
|
|
|
|
|
docs:
|
|
|
|
make -C docs html
|
2019-05-12 13:58:14 +00:00
|
|
|
|
|
|
|
lint:
|
2019-05-12 14:20:30 +00:00
|
|
|
flake8 --count --application-import-names cowrie --max-line-length=120 --statistics --exclude=cowrie-env .
|
2019-05-12 13:58:14 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf _trial_temp build dist
|
|
|
|
|
|
|
|
pip-upgrade:
|
|
|
|
pip install --upgrade -r requirements.txt
|
|
|
|
|
|
|
|
pip-check:
|
|
|
|
pip check
|