- Mako is now a core dependency
- therefore no more 'email' extra
- add `get_install_handler()` method for app handler
- add `render_mako_template()` method for app handler
- add `resource_path()` method for app handler
- install handler thus far can:
- confirm db connection
- make appdir plus config/scripts:
- wutta.conf
- web.conf
- upgrade.sh
- upgrade db schema to create tables
- from there web app can run, create admin user
- quick start docs now describe "generated code" option
22 lines
454 B
INI
22 lines
454 B
INI
|
|
[tox]
|
|
envlist = py38, py39, py310, py311, nox
|
|
|
|
[testenv]
|
|
extras = db,docs,tests
|
|
deps = prompt_toolkit
|
|
commands = pytest {posargs}
|
|
|
|
[testenv:nox]
|
|
extras = tests
|
|
|
|
[testenv:coverage]
|
|
basepython = python3.11
|
|
extras = db,tests
|
|
commands = pytest --cov=wuttjamaican --cov-report=html --cov-fail-under=100
|
|
|
|
[testenv:docs]
|
|
basepython = python3.11
|
|
extras = db,docs
|
|
changedir = docs
|
|
commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|