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.
 
 
 
 
 

35 lines
851 B

.PHONY: doc runGittk runDemo build deploy buildTest deployTest
.venv:
python3 -m venv .venv
. .venv/bin/activate ; \
pip install -r docs/requirements.txt
# Regen requirements;
# pip freeze > docs/requirements.txt
build: .venv
. .venv/bin/activate ; \
rm -rf dist ; \
tools/prepareBuild.sh release ; \
cd tmp ; \
python3 -m build
buildTest: .venv
. .venv/bin/activate ; \
rm -rf dist ; \
tools/prepareBuild.sh test ; \
cd tmp ; \
python3 -m build ;
deployTest: .venv
. .venv/bin/activate ; \
python3 -m twine upload --repository testpypi tmp/dist/* --verbose
deploy: .venv
. .venv/bin/activate ; \
python3 -m twine upload tmp/dist/* --repository tlogg --verbose
#test: .venv
# . .venv/bin/activate ; \
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude .venv,build,tmp ; \
# pytest demo/demo.py