forked from lockwooddev/python-wowapi
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 657 Bytes
/
Makefile
File metadata and controls
32 lines (25 loc) · 657 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
.PHONY: tests devinstall docs clean clean_build build test_publish publish
devinstall:
pip install -e .
pip install -e .[tests]
pip install -e .[docs]
docs:
rm -rf docs
mkdir docs
pydocmd simple wowapi++ wowapi.api++ wowapi.mixins.community++ wowapi.mixins.game_data++ wowapi.mixins.profile++ > docs/api.md
clean:
rm -rf dist
rm -rf build
rm -rf cov_html
rm -rf python_wowapi.egg-info
rm -rf .coverage
rm -rf docs
build:
make clean
python setup.py sdist bdist_wheel
test_publish:
pip install --upgrade twine
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
publish:
pip install --upgrade twine
twine upload dist/*