forked from jhosoume/NoiseFiltersPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (24 loc) · 785 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PACKAGE := NoiseFiltersPy
all: clean install-complete code-check
.PHONE: all clean code-check pypi install-complete install
clean:
find . -name "*.so" -o -name "*.pyc" -o -name "*.md5" -o -name "*.pyd" -o -name "*~" | xargs rm -f
rm -rf dist
rm -rf build
rm -rf .pytest_cache/
rm -rf .mypy_cache/
code-check:
flake8 $(PACKAGE)
pylint $(PACKAGE) -j 0 -d 'C0103, R0913, R0902, R0914, C0302, R0904, R0801, E1101, C0330, E1136'
mypy $(PACKAGE) --ignore-missing-imports
pypi: clean ## Send the package to pypi.
pip install -U twine wheel
python3 setup.py sdist bdist_wheel
twine upload dist/*
install-complete:
pip install -U -e .
pip install -U -r requirements.txt
pip install -U -r requirements-dev.txt
pip install -U -r requirements-docs.txt
install:
pip install .