added make file
Browse files
Makefile
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
help:
|
2 |
+
@echo "clean - remove all build, test, coverage and Python artifacts"
|
3 |
+
@echo "clean-build - remove build artifacts"
|
4 |
+
@echo "clean-pyc - remove Python file artifacts"
|
5 |
+
@echo "install - install the package to the active Python's site-packages"
|
6 |
+
|
7 |
+
clean: clean-build clean-pyc
|
8 |
+
|
9 |
+
clean-build:
|
10 |
+
rm -fr build/
|
11 |
+
rm -fr dist/
|
12 |
+
rm -fr .eggs/
|
13 |
+
find . -name '*.egg-info' -exec rm -fr {} +
|
14 |
+
find . -name '*.egg' -exec rm -f {} +
|
15 |
+
|
16 |
+
clean-pyc:
|
17 |
+
find . -name '*.pyc' -exec rm -f {} +
|
18 |
+
find . -name '*.pyo' -exec rm -f {} +
|
19 |
+
find . -name '*~' -exec rm -f {} +
|
20 |
+
find . -name '__pycache__' -exec rm -fr {} +
|
21 |
+
|
22 |
+
install: clean
|
23 |
+
python setup.py install
|