-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
52 lines (38 loc) · 1004 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
50
51
52
install-local:
pip install .
upgrade-local:
pip install --upgrade .
uninstall:
pip uninstall safe-pfl-distance
check:
python setup.py check
clean:
@echo "cleaning"
@rm -rf ./build
@rm -rf ./dist
@rm -rf ./*.egg-info
increment-version:
@bump
source-distribution: clean
@echo "building"
@python setup.py sdist
@python setup.py bdist_wheel --universal
sign:
@echo "signing with gpg"
@gpg --detach-sign -a dist/safe_pfl_distance-*
publish-test: increment-version source-distribution sign
@echo "test publishing"
@twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose
publish: check source-distribution sign
@echo "test publishing"
@twine upload dist/* --verbose
install-test:
pip install --index-url https://test.pypi.org/simple/ safe-pfl-distance --user
install:
pip install safe-pfl-distance --user
download:
pip download safe-pfl-distance
download-clean:
pip download --no-deps safe-pfl-distance
doc-generate:
@cd docs && make clean && make html