You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
.PHONY: doc, runGittk, runDemo, build, testdeploy, deploy
|
|
|
|
|
|
|
|
|
|
.venv:
|
|
|
|
|
python3 -m venv .venv
|
|
|
|
|
. .venv/bin/activate
|
|
|
|
|
pip3 install --upgrade pdoc3
|
|
|
|
|
pip3 install --upgrade GitPython
|
|
|
|
|
pip3 install --upgrade build
|
|
|
|
|
pip3 install --upgrade twine
|
|
|
|
|
|
|
|
|
|
doc: .venv
|
|
|
|
|
. .venv/bin/activate
|
|
|
|
|
rm -rf docs/html
|
|
|
|
|
pdoc --html TermTk -o docs/html
|
|
|
|
|
|
|
|
|
|
runGittk: .venv
|
|
|
|
|
. .venv/bin/activate
|
|
|
|
|
demo/gittk.py -f
|
|
|
|
|
|
|
|
|
|
runDemo: .venv
|
|
|
|
|
. .venv/bin/activate
|
|
|
|
|
demo/demo.py -f
|
|
|
|
|
|
|
|
|
|
build: .venv
|
|
|
|
|
. .venv/bin/activate
|
|
|
|
|
rm -rf dist
|
|
|
|
|
python3 -m build
|
|
|
|
|
|
|
|
|
|
testDeploy: .venv
|
|
|
|
|
. .venv/bin/activate
|
|
|
|
|
python3 -m twine upload --repository testpypi dist/* --verbose
|
|
|
|
|
|
|
|
|
|
deploy: .venv
|
|
|
|
|
. .venv/bin/activate
|
|
|
|
|
python3 -m twine upload dist/*
|