When making new release, in Notepad++:
- run
cmd /c bandit -r "$(CURRENT_DIRECTORY)" & pause
from the root of package. - run
cmd /c pylint "$(CURRENT_DIRECTORY)" --rcfile "$(CURRENT_DIRECTORY)\..\pyproject.toml" & pause
from the root of package. - run
cmd /c black "$(CURRENT_DIRECTORY)" & pause
from the root of package. - set version in
pyproject.toml
to{YYYY}.{MM}.{DD}.{release_SID_for_the_day}
. - set version tag to
v{YYYY}.{MM}.{DD}.{release_SID_for_the_day}
for the latest commit from which the release will be made. - run
poetry lock
. - run
poetry build
. - make standalone app for Windows with cx_Freeze by executing
freeze_with_cx_Freeze.py
. - upload to PyPI with
poetry publish
.