forked from netcloud/aciClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
26 lines (26 loc) · 810 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
.PHONY: package
package:
make clean
python setup.py sdist
.PHONY: pypi
pypi:
make clean
python setup.py sdist; twine upload dist/* --skip-existing
.PHONY: clean
clean:
find ./* -name '*.pyc' -exec rm {} \;
find ./* -name '*.so' -exec rm {} \;
find ./* -name '*.coverage' -exec rm {} \;
@# A minus sign prefixing the line means it ignores the return value
-find ./* -path '*__pycache__' -exec rm -rf {} \;
@# remove all the MockSSH keys
-find ./* -name '*.key' -exec rm {} \;
-rm -rf .eggs/
-rm -rf dist/ aciClient.egg-info/ setuptools*
.PHONY: help
help:
@# An @ sign prevents outputting the command itself to stdout
@echo "help : You figured that out ;-)"
@echo "pypi : Build the project and push to pypi"
@echo "clean : Housecleaning"
@echo ""