-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
43 lines (31 loc) · 770 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
.PHONY: all package install install2 install3 uninstall uninstall2 uninstall3 test test2 test3 upload clean
all: package
package:
python setup.py sdist bdist_wheel --universal
check:
twine check dist/*
install: install2 install3
install2: setup.py
python setup.py install --user
install3: setup.py
python3 setup.py install --user
uninstall:
make -i uninstall2
make -i uninstall3
uninstall2:
pip uninstall secretpy
uninstall3:
pip3 uninstall secretpy
test: test2 test3
test2: setup.py
python setup.py test
test3: setup.py
python3 setup.py test
flake:
flake8 ./ --ignore=E501
upload:
python -m twine upload dist/*
clean:
rm -rf dist build secretpy.egg-info
find . -name "*.pyc" -type f -delete
find . -name "__pycache__" -type d -delete