forked from jwplayer/jwplatform-py
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (31 loc) · 742 Bytes
/
Makefile
File metadata and controls
41 lines (31 loc) · 742 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
.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
build:
python3 setup.py sdist bdist_wheel
release: clean build
twine upload dist/*
dist: clean build
python3 setup.py sdist
python3 setup.py bdist_wheel
ls -l dist