forked from aristoteleo/spateo-release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·56 lines (42 loc) · 1.04 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.PHONY : install install-dev install-all test check build docs clean push_release
install:
pip install .
# There is a problem with just pip installing hdbscan...
# pip uninstall -y hdbscan
# pip install --no-build-isolation --no-binary :all: hdbscan>=0.8.26
install-dev:
pip install -r dev-requirements.txt
install-tdr:
pip install -r 3d-requirements.txt
install-docs:
pip install -r docs/requirements.txt
install-all: install-dev install-docs install
test:
rm -f .coverage
nosetests --verbose --with-coverage --cover-package spateo \
tests/* \
tests/io/* \
tests/preprocessing/* \
tests/segmentation/* \
tests/tools/*
check:
isort --profile black --check spateo tests && black --check spateo tests && echo OK
build:
python setup.py sdist
docs:
sphinx-build -a docs docs/_build
clean:
rm -rf build
rm -rf dist
rm -rf spateo.egg-info
rm -rf docs/_build
rm -rf docs/autoapi
rm -rf .coverage
bump_patch:
bumpversion patch
bump_minor:
bumpversion minor
bump_major:
bumpversion major
push_release:
git push && git push --tags