-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (39 loc) · 973 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
40
41
42
43
44
45
46
47
48
49
SHELL=/bin/bash -o pipefail
# Run tests
#test:
# @pip install .[test]
# @PYTHONPATH=src/ pytest \
# --cov src/v2_samplesheet_maker \
# --capture=no | \
# tee coverage_report.txt
# Run build
build_package:
@pip install .[build]
@python3 -m build
# Install package
install:
@pip install .
# Push to test pypi
push_test_pypi:
@pip install .[deploy]
@python3 -m twine upload --repository testpypi dist/* --verbose
# Install from test pypi
install_test_pypi:
@pip install \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple/ \
wrapica==${WRAPICA_VERSION}
build_docs_quick:
@sphinx-build docs/ docs/_build/
# Install to pypi
push_pypi:
@pip install .[deploy]
@python3 -m twine upload --repository pypi dist/* --verbose
install_pypi:
@pip install \
--index-url https://pypi.org/simple/ \
wrapica=="${WRAPICA_VERSION}"
# Build docs
build_docs:
@pip install .[docs]
@sphinx-build docs/ docs/_build/