forked from jwplayer/jwplatform-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (30 loc) · 745 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
.PHONY: clean-build clean install install-all version
help:
@echo "clean-build - remove build artifacts"
@echo "test - run tests quickly with the default Python"
@echo "version - get the package version"
@echo "release - package and upload a release"
@echo "dist - package"
clean: clean-build
rm -rf .coverage
rm -rf .pytest_cache
clean-build:
rm -rf build/
rm -rf dist/
rm -rf .eggs
rm -rf *.egg-info
install: clean-build
python3 setup.py install
install-all:
pip3 install -e .[all]
test:
python3 setup.py test
version:
python3 setup.py --version
release: clean build
python3 setup.py sdist upload
python3 setup.py bdist_wheel upload
dist: clean build
python3 setup.py sdist
python3 setup.py bdist_wheel
ls -l dist