forked from SimonBlanke/Gradient-Free-Optimizers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
44 lines (34 loc) · 768 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
dist:
python setup.py sdist
python setup.py bdist_wheel
ls -l dist
install:
pip install .
develop:
pip install -e .
reinstall:
pip uninstall -y gradient_free_optimizers
rm -fr build dist gradient_free_optimizers.egg-info
python setup.py bdist_wheel
pip install dist/*
test-visual:
cd tests/local; \
python _visualize_search_paths.py
test-gfo:
python -m pytest -x -p no:warnings -rfEX tests/
test-examples:
cd tests; \
python test_examples.py
test-hyper:
# test if new version of gfo works with current release of hyperactive
pip install --upgrade --force-reinstall hyperactive; \
make install; \
cd ../Hyperactive; \
make test
test-debug:
cd tests; \
python _test_debug.py
test:
make test-gfo
make test-hyper
make test-examples