diff --git a/pyproject.toml b/pyproject.toml index ea3dc8c..a91be8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,8 +10,8 @@ license = {text = "AGPL-3.0-or-later"} authors = [ {name = "Brian S. Stephan", email = "bss@incorporeal.org"}, ] -requires-python = ">=3.8" -dependencies = ["feedgen", "Flask", "Markdown", "termcolor"] +requires-python = ">=3.9" +dependencies = ["feedgen", "jinja2", "Markdown", "termcolor"] dynamic = ["version"] classifiers = [ "Framework :: Flask", @@ -34,6 +34,9 @@ dev = ["bandit", "dlint", "flake8", "flake8-blind-except", "flake8-builtins", "f "setuptools-scm", "tox", "twine"] dot = ["pydot"] +[project.scripts] +incorporealcms-build = "incorporealcms.ssg:build" + [tool.flake8] enable-extensions = "G,M" exclude = [".tox/", "venv/", "_version.py"] diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index 8b83e3a..8d243c1 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -6,7 +6,7 @@ # annotated-types==0.7.0 # via pydantic -attrs==25.2.0 +attrs==25.3.0 # via reuse authlib==1.5.1 # via safety @@ -14,8 +14,6 @@ bandit==1.8.3 # via incorporeal-cms (pyproject.toml) binaryornot==0.4.4 # via reuse -blinker==1.7.0 - # via flask boolean-py==4.0 # via # license-expression @@ -36,9 +34,8 @@ charset-normalizer==3.4.1 # via # python-debian # requests -click==8.1.7 +click==8.1.8 # via - # flask # nltk # pip-tools # reuse @@ -97,8 +94,6 @@ flake8-mutable==1.2.0 # via incorporeal-cms (pyproject.toml) flake8-pyproject==1.2.3 # via incorporeal-cms (pyproject.toml) -flask==3.0.3 - # via incorporeal-cms (pyproject.toml) id==1.5.0 # via twine idna==3.10 @@ -107,8 +102,6 @@ iniconfig==2.0.0 # via pytest isort==6.0.1 # via flake8-isort -itsdangerous==2.1.2 - # via flask jaraco-classes==3.4.0 # via keyring jaraco-context==6.0.1 @@ -121,7 +114,7 @@ jeepney==0.9.0 # secretstorage jinja2==3.1.3 # via - # flask + # incorporeal-cms (pyproject.toml) # reuse # safety joblib==1.4.2 @@ -137,9 +130,7 @@ markdown==3.6 markdown-it-py==3.0.0 # via rich markupsafe==2.1.5 - # via - # jinja2 - # werkzeug + # via jinja2 marshmallow==3.26.1 # via safety mccabe==0.7.0 @@ -293,8 +284,6 @@ urllib3==2.3.0 # twine virtualenv==20.29.3 # via tox -werkzeug==3.0.2 - # via flask wheel==0.45.1 # via pip-tools diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 59eaa0f..38acbc6 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -4,31 +4,19 @@ # # pip-compile --output-file=requirements/requirements.txt # -blinker==1.7.0 - # via flask -click==8.1.7 - # via flask feedgen==1.0.0 # via incorporeal-cms (pyproject.toml) -flask==3.0.3 - # via incorporeal-cms (pyproject.toml) -itsdangerous==2.1.2 - # via flask jinja2==3.1.3 - # via flask + # via incorporeal-cms (pyproject.toml) lxml==5.2.1 # via feedgen markdown==3.6 # via incorporeal-cms (pyproject.toml) markupsafe==2.1.5 - # via - # jinja2 - # werkzeug + # via jinja2 python-dateutil==2.9.0.post0 # via feedgen six==1.16.0 # via python-dateutil termcolor==2.5.0 # via incorporeal-cms (pyproject.toml) -werkzeug==3.0.2 - # via flask diff --git a/tox.ini b/tox.ini index b9b14e6..41e3e8c 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ [tox] isolated_build = true -envlist = begin,py38,py39,py310,py311,py312,coverage,security,lint,reuse +envlist = begin,py39,py310,py311,py312,coverage,security,lint,reuse [testenv] allow_externals = pytest, coverage @@ -21,11 +21,6 @@ deps = setuptools skip_install = true commands = coverage erase -[testenv:py38] -# run pytest with coverage -commands = - pytest --cov-append --cov={envsitepackagesdir}/incorporealcms/ --cov-branch - [testenv:py39] # run pytest with coverage commands =