-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (25 loc) · 725 Bytes
/
Copy pathMakefile
File metadata and controls
42 lines (25 loc) · 725 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
# Documentation generator configuration
############################################
SPHINXBUILD = python -msphinx
SPHINXOPTS = "html"
SPHINXPROJ = python-tmcl
SOURCEDIR = ./docs
BUILDDIR = ./docs/_build
.PHONY: docs build Makefile
clean:
rm -rf ./{build,dist}
build: clean
python setup.py sdist bdist_wheel
release-test: build
twine upload -r pypi-test dist/*
dev-dependencies:
pip install -r requirements.dev.txt
test-dependencies:
pip install -r requirements.test.txt
docs-dependencies:
pip install -r requirements.docs.txt
dependencies: dev-dependencies test-dependencies docs-dependencies
tests:
py.test test
docs:
@$(SPHINXBUILD) -j 4 -c ./docs -a "$(SOURCEDIR)" "$(BUILDDIR)"