-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (30 loc) · 836 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
31
32
33
34
35
36
37
38
39
40
41
42
43
build:
python -m build
install: build
pip install dist/*.whl
uninstall:
pip uninstall -y surfaces
rm -fr build dist *.egg-info
install-requirements:
python -m pip install -r ./requirements/requirements.in
install-test-requirements:
python -m pip install -r ./requirements/requirements-test.in
install-build-requirements:
python -m pip install -r ./requirements/requirements-build.in
install-editable:
pip install -e .
reinstall: uninstall install
reinstall-editable: uninstall install-editable
test-examples:
cd tests; \
python _test_examples.py
py-test:
python -m pytest -x -p no:warnings tests/; \
test: py-test test-examples
requirement:
cd requirements/; \
pip-compile requirements.in;\
pip-compile requirements-test.in;\
pip-compile requirements-build.in
database:
python -m collect_search_data.py