-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
41 lines (31 loc) · 833 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
all:
@echo "make clean - clean dists"
@echo "make bump - clean bump version"
@echo "make sdist - create dists"
@echo "make upload - upload packages"
@echo "make tests - run tests"
@echo "make purge - cleanup working copy"
@echo "make develop - create a virtualenv"
@echo "make release - test and release"
NAME:=$(shell python3 setup.py --name)
VERSION:=$(shell python3 setup.py --version | sed 's/+/-/g')
clean:
rm -fr dist
bump: clean
python3 bump.py jwt_rsa/version.py
sdist: bump
python3 setup.py sdist bdist_wheel
upload: sdist
twine upload dist/*
test:
tox
purge: clean
rm -fr env *.egg-info .tox dist
develop: purge bump
virtualenv -p python3.6 env
env/bin/pip install certifi
env/bin/pip install -Ue '.'
env/bin/pip install -Ue '.[develop]'
release: test upload
mypy:
mypy jwt_rsa