forked from HunterMcGushion/hyperparameter_hunter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
37 lines (29 loc) · 810 Bytes
/
makefile
File metadata and controls
37 lines (29 loc) · 810 Bytes
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
env:
python -m venv env
@echo 'run `source env/bin/activate` to use virtualenv'
setup: env
# source env/bin/activate && pip install -U black isort twine
source env/bin/activate
pip install -U black isort nose twine
dev: setup
# source env/bin/activate && python setup.py develop && pip install hyperparameter_hunter[dev]
source env/bin/activate
python setup.py develop
pip install hyperparameter_hunter[dev]
pre-commit install
@echo 'run `source env/bin/activate` to develop hyperparameter_hunter'
release: lint test clean
python setup.py sdist bdist_wheel
twine upload dist/*
format:
black hyperparameter_hunter setup.py
isort
lint:
black --check hyperparameter_hunter setup.py
test:
source env/bin/activate
nosetests
clean:
rm -rf build dist *.egg-info
distclean: clean
rm -rf env