forked from ringcentral/ringcentral-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (34 loc) · 871 Bytes
/
Makefile
File metadata and controls
43 lines (34 loc) · 871 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
43
.PHONY: install
install:
pip install -r requirements.txt
pip install -r requirements-dev.txt
.PHONY: test
test:
python -m unittest discover . --pattern '*test.py'
.PHONY: coverage
coverage:
coverage run -m unittest discover --pattern '*test.py'
.PHONY: coverage-report
coverage-report:
coverage report -m
.PHONY: publish
publish:
python setup.py sdist upload -r pypi
.PHONY: publish-test
publish-test:
python setup.py sdist upload -r pypitest
.PHONY: register
register:
python setup.py register -r pypi
.PHONY: register-test
register-test:
python setup.py register -r pypitest
.PHONY: install-ve
install-ve:
virtualenv --python `which python3` .ve
.ve/bin/pip install -r requirements.txt
.ve/bin/pip install -r requirements-dev.txt
.ve/bin/pip install configparser
.PHONY: test-ve
test-ve:
.ve/bin/python -m unittest discover . --pattern '*test.py'