-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (28 loc) · 757 Bytes
/
Makefile
File metadata and controls
39 lines (28 loc) · 757 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
# This Makefile is slightly modified from the makefile from
# LLNL's internal `codepy` tool
# Author: Brian Daub
# Date: 12/14/19
PYTEST = py.test --cov=scisample --cov-report html tests
sphinx:
sphinx-apidoc -f -M -o docs/source/ scisample
cd docs && make html
tbump:
echo tbump 1.0.1
wheel:
rm -rf build
python setup.py sdist bdist_wheel
twine-check:
twine check dist/*
twine-upload:
echo https://realpython.com/pypi-publish-python-package/
echo twine upload dist/scisample-0.0.3*
test:
$(PYTEST)
unit:
$(PYTEST) -k "unit and not integration and not system and not acceptance"
integration:
$(PYTEST) -k "integration and not unit and not system and not acceptance"
system:
$(PYTEST) -k "system or acceptance"
lint:
flake8 scisample