Skip to content

Commit b3cde9e

Browse files
committed
add a makefile
1 parent 59e03e4 commit b3cde9e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Makefile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
build:
2+
python3 setup.py bdist_wheel #--bdist-dir bdtmp --dist-dir dist
3+
rm -r pytuyo.egg-info
4+
rm -r build
5+
6+
init:
7+
sudo -H pip3 install -r requirements.txt
8+
9+
#test:
10+
# python3 tests/test.py
11+
#
12+
uninstall:
13+
sudo pip3 uninstall pytuyo -y
14+
15+
install: build uninstall
16+
sudo -H pip3 install --upgrade dist/$(shell ls -t dist/ | head -n 1)
17+
18+
clean:
19+
rm -rf dist
20+
21+
.PHONY: build init install uninstall clean
22+
#.PHONY: test

0 commit comments

Comments
 (0)