-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
46 lines (37 loc) · 929 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
45
46
.PHONY: clean
clean: clean-build ## remove all build, test, coverage and Python artifacts
clean-build: ## remove build artifacts
rm -frv build/
rm -frv dist/
rm -frv .eggs/
rm -frv .tox/
rm -fv .coverage
rm -frv htmlcov/
rm -frv bin/dist
rm -frv bin/build
rm -frv bin/*.zip
rm -frv htmlcov
rm -frv coverage.xml
rm -rfv */__pycache__
rm -fv corbertura.xml
rm -frv .pytest_cache
rm -rfv *.egg-info
test: clean ## run tests quickly with the default Python
tox
unittest: ## only run unit tests
tox -e py
push: test ## push changes to remote
git add .
git commit -m "$m"
git push
start: ## start program
torrentfileQt
release: clean test ## release to pypi
py -m build .
twine upload dist/*
build: clean test ## build executable file
py -m build .
pip install -e .
pyinstaller app.spec
install: ## Fresh install from PyPi
python -m pip install --upgrade --force-reinstall --no-cache torrentfileQt