-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (32 loc) · 786 Bytes
/
Makefile
File metadata and controls
42 lines (32 loc) · 786 Bytes
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
all: help
help:
@echo 'NAME'
@echo ' Makefile for blockapi'
@echo ''
@echo 'SYNOPSIS'
@echo ' make [options]'
@echo ''
@echo 'DESCRIPTION'
@echo ' help show help'
@echo ''
@echo ' dist builds both binary and source distribution'
@echo ''
@echo ' install installs blockapi library'
@echo ''
@echo ' uninstall uninstalls blockapi library'
@echo ''
@echo ' test runs the unit tests'
install:
pip3 install --upgrade .
uninstall:
pip3 uninstall -y blockapi
dist:
rm -f dist/*
python3 setup.py sdist bdist_wheel
pip3 install --upgrade twine
python3 -m twine upload dist/*
test:
python3 blockapi/test.py
test-v2-api:
python3 -m pytest blockapi/test/v2/
.PHONY: dist