-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
45 lines (29 loc) · 820 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
44
.PHONY: install-piptools install-deps install-dev update-deps tests install-user-unit setup-install pip-install
upgrade-pip:
python3 -m pip install --upgrade pip wheel setuptools
install-piptools:
pip3 install pip-tools toml
install-reqs:
pip3 install -r requirements.txt
install-reqs-dev: install-piptools
pip3 install -r requirements.dev.txt
update-requirements:
pip-compile
pip-compile requirements.in requirements.dev.in --output-file requirements.dev.txt
install:
pip3 install ./
install-dev:
pip3 install -e ".[dev]"
lint:
flake8
tests:
pytest -vs --disable-warnings tests
format:
yapf -ir ./
install-user-unit:
mkdir -p ~/.config/systemd/user/
cp service/lxdrunner.service ~/.config/systemd/user/
setup-install:
python3 setup.py install
packages:
python3 setup.py sdist bdist_wheel