-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (28 loc) · 712 Bytes
/
Makefile
File metadata and controls
36 lines (28 loc) · 712 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
SHELL:=/bin/bash
.DEFAULT_GOAL := lint
.PHONY: clean
clean:
rm -rf build/ dist/ *.egg-info/
.PHONY: lint
lint:
mypy plex_default_settings
flake8 plex_default_settings setup.py
.PHONY: build
build: clean
python setup.py sdist bdist_wheel
.PHONY: publish
publish:
twine upload dist/*
.PHONY: deps
deps: requirements-test.txt
pip-sync requirements-test.txt
pip install -e .
requirements-test.txt: requirements-test.in setup.py
pip-compile --output-file requirements-test.txt setup.py requirements-test.in --no-emit-index-url
.PHONY:
update-tools:
pip install --upgrade wheel
pip install --upgrade twine
pip install --upgrade pip
pip install --upgrade pip-tools
pip install --upgrade setuptools